[ https://issues.apache.org/jira/browse/FOP-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simone Rondelli updated FOP-2644: --------------------------------- Description: In order to reduce the memory footprint of an ApacheFOP based application, where I have several Java2D based renderers, I created the XML metrics for the fonts used (more then 20). This way {{org.apache.fop.render.java2d.ConfiguredFontCollection}} creates instances of {{LazyFont}}. THE PROBLEM: The generated metrics.xml do not contain the GSUB, GPOS, GDEF tables info . This led to an incorrect generated output. Eg: instead of this 🇮🇹 the generated pdf has 🇮 🇹. (I'm working on a for ApacheFOP that supports Surrogate Pairs and I'm testing it with Emojis FOP-1969) was: In order to reduce the memory footprint of an ApacheFOP based application, where I have several Java2D based renderers, I created the XML metrics for the fonts used (more then 20 fonts). This way org.apache.fop.render.java2d.ConfiguredFontCollection creates instances of LazyFont. THE PROBLEM: The generated metrics.xml do not contain the GSUB, GPOS, GDEF tables info . This led to an incorrect generated output. Eg: instead of this 🇮🇹 the generated pdf has 🇮 🇹. (I'm working on a for ApacheFOP that supports Surrogate Pairs and I'm testing it with Emojis FOP-1969) > Generated font metrics do not contains GSUB, GPOS, GDEF tables > -------------------------------------------------------------- > > Key: FOP-2644 > URL: https://issues.apache.org/jira/browse/FOP-2644 > Project: FOP > Issue Type: Bug > Components: font/opentype > Affects Versions: 2.1 > Environment: All OS/Platforms affected > Reporter: Simone Rondelli > > In order to reduce the memory footprint of an ApacheFOP based application, > where I have several Java2D based renderers, I created the XML metrics for > the fonts used (more then 20). This way > {{org.apache.fop.render.java2d.ConfiguredFontCollection}} creates instances > of {{LazyFont}}. > THE PROBLEM: > The generated metrics.xml do not contain the GSUB, GPOS, GDEF tables info . > This led to an incorrect generated output. > Eg: instead of this 🇮🇹 the generated pdf has 🇮 🇹. > (I'm working on a for ApacheFOP that supports Surrogate Pairs and I'm testing > it with Emojis FOP-1969) -- This message was sent by Atlassian JIRA (v6.3.4#6332)