[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    [jira] [Created] (FOP-3042) SVG text containing certain glyphs isn't rendered
From:       "Per Cederberg (Jira)" <jira () apache ! org>
Date:       2021-12-20 14:16:00
Message-ID: JIRA.13418630.1640009751000.46681.1640009760042 () Atlassian ! JIRA
[Download RAW message or body]

Per Cederberg created FOP-3042:
----------------------------------

             Summary: 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.6, 2.4, 2.3
            Reporter: Per Cederberg
             Fix For: 2.2
         Attachments: CenturyGothicStd.otf, fopconfig.xml, output-fop2.2.pd=
f, output-fop2.3.pdf, test.xml

When rendering an XSL-FO containing an inline SVG with a custom font (Centu=
ry Gothic), text is only displayed if it doesn't contain the "o" character =
inside a word.=C2=A0

The provided "test.xml" file includes a minimal SVG image that shows this b=
ehavior. Everything works correctly from FOP 1.x - 2.2. But starting with F=
OP 2.3, some text lines might be omitted from the output. Typically lines c=
ontaining an "o" glyph inside a word. Might also be triggered by other glyp=
hs, as I haven't tested exhaustively with whole alphabet.

The attached "output-fop2.2.pdf" shows a correct rendering, whereas the "ou=
tput-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 t=
ool.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic