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 "Dave Roxburgh (Jira)" <ji...@apache.org> on 2023/07/05 10:08:00 UTC
[jira] [Commented] (FOP-3042) SVG text containing certain glyphs isn't rendered
[ https://issues.apache.org/jira/browse/FOP-3042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17740135#comment-17740135 ]
Dave Roxburgh commented on FOP-3042:
------------------------------------
Thanks for the report and the resources, [~per.cederberg]
p4.patch resolves the issue which was down to glyph vectors in single-byte fonts with glyph position adjustments not being processed.
(ae5f6dd6c3dcca0c56d06c634fe62da089d4e5e9)
> SVG text containing certain glyphs isn't rendered
> -------------------------------------------------
>
> Key: FOP-3042
> URL: https://issues.apache.org/jira/browse/FOP-3042
> Project: FOP
> Issue Type: Bug
> Components: foreign/svg
> Affects Versions: 2.3, 2.4, 2.6
> Reporter: Per Cederberg
> Priority: Major
> Attachments: CenturyGothicStd.otf, fopconfig.xml, output-fop2.2.pdf, output-fop2.3.pdf, p4.patch, test.xml
>
>
> When rendering an XSL-FO containing an inline SVG with a custom font (Century Gothic), text is only displayed if it doesn't contain the "o" character inside a word.
> The provided "test.xml" file includes a minimal SVG image that shows this behavior. Everything works correctly from FOP 1.x - 2.2. But starting with FOP 2.3, some text lines might be omitted from the output. Typically lines containing an "o" glyph inside a word. Might also be triggered by other glyphs, as I haven't tested exhaustively with whole alphabet.
> The attached "output-fop2.2.pdf" shows a correct rendering, whereas the "output-fop2.3.pdf" shows rendering in 2.3, 2.4 and 2.6.
> *Disclaimer:* This may actually be a bug in Apache Batik (1.10 and up), but I'm currently unable to reproduce it using their command-line rasterizer tool.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)