You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Simone Rondelli (JIRA)" <ji...@apache.org> on 2016/09/01 15:07:20 UTC
[jira] [Commented] (FOP-2644) Generated font metrics do not
contains GSUB, GPOS, GDEF tables
[ https://issues.apache.org/jira/browse/FOP-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15455708#comment-15455708 ]
Simone Rondelli commented on FOP-2644:
--------------------------------------
As a solution I just suggest to include the GSUB, GPOS, GDEF infos into the generated XML.
> 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 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)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)