diff options
Diffstat (limited to 'src/java/org/apache/fop/fonts/apps/PFMReader.java')
-rw-r--r-- | src/java/org/apache/fop/fonts/apps/PFMReader.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fonts/apps/PFMReader.java b/src/java/org/apache/fop/fonts/apps/PFMReader.java index 18b40993d..90dd1fd28 100644 --- a/src/java/org/apache/fop/fonts/apps/PFMReader.java +++ b/src/java/org/apache/fop/fonts/apps/PFMReader.java @@ -26,12 +26,14 @@ import java.util.Map; import javax.xml.parsers.DocumentBuilderFactory; +import org.w3c.dom.Document; +import org.w3c.dom.Element; + import org.apache.commons.logging.LogFactory; + import org.apache.fop.Version; import org.apache.fop.fonts.type1.PFMFile; import org.apache.fop.util.CommandLineLogger; -import org.w3c.dom.Document; -import org.w3c.dom.Element; /** * A tool which reads PFM files from Adobe Type 1 fonts and creates @@ -256,7 +258,7 @@ public class PFMReader extends AbstractFontReader { el = doc.createElement("descender"); root.appendChild(el); - value = new Integer(-pfm.getLowerCaseDescent()); + value = new Integer(pfm.getLowerCaseDescent()); el.appendChild(doc.createTextNode(value.toString())); Element bbox = doc.createElement("bbox"); |