[
https://issues.apache.org/jira/browse/FOP-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Steiner resolved FOP-3057.
--------------------------------
Fix Version/s: trunk
Resolution: Fixed
http://svn.apache.org/viewvc?view=revision&revision=1899170
> Empty text in the font Source Code Pro
> --------------------------------------
>
> Key: FOP-3057
> URL: https://issues.apache.org/jira/browse/FOP-3057
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 2.6, 2.7
> Environment: Windows 7 Pro 64-bit
> Java version 1.8.0_281
> Reporter: Alexander Dyuzhev
> Assignee: Simon Steiner
> Priority: Critical
> Fix For: trunk
>
> Attachments: test.fo.xml, test_SourceCodePro_fop_2.5.pdf,
> test_SourceCodePro_fop_2.6.pdf, test_SourceCodePro_fop_2.6_embed_full.pdf
>
>
> I use the font 'Source Code Pro' from here:
> [https://github.com/adobe-fonts/source-code-pro/blob/482adcaccf9777f2850974e08c60e706b1ad9169/TTF/SourceCodePro-Regular.ttf]
> FOP config fragment:
> {code:xml}
> <font embed-url="file:/C:/fonts/SourceCodePro-Regular.ttf" kerning="yes">
> <font-triplet name="Source Code Pro" style="normal" weight="normal"/>
> </font>
> {code}
> This block:
> {code:xml}
> <fo:block>text <fo:inline font-family="Source Code Pro">Source Code
> Pro</fo:inline> text</fo:block>
> {code}
> renders ok in FOP 2.5 (see attached test_SourceCodePro_fop_2.5.pdf),
> but renders empty space in FOP 2.6 and 2.7 for the font 'Source Code Pro'
> (see attached test_SourceCodePro_fop_2.6.pdf).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)