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 "Alexander Dyuzhev (Jira)" <ji...@apache.org> on 2022/03/05 19:13:00 UTC
[jira] [Created] (FOP-3057) empty text in the font Source Code Pro
Alexander Dyuzhev created FOP-3057:
--------------------------------------
Summary: 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.7, 2.6
Reporter: Alexander Dyuzhev
Attachments: test.fo.xml, test_SourceCodePro_fop_2.5.pdf, test_SourceCodePro_fop_2.6.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)