Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-3147

Some SVG texts dissapear when using specific font on FOP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • image/svg
    • None

    Description

      Given:

      • The sample input.xml
      • Having image.svg in your system (please adjust paths in the .xml to your local machine, see file:/// url in the external-graphic element).
      • The gotham-fonts.zip either installed in the system or configured trough .xconf

      When producing the PDF, there should be a text "LCS" and another "lcs", but currently only the lowercase is visible from FOP. Opening the .svg from a viewer (e.g. Chrome) doesn't present this issue.

      On my team we were not able to locate the issue, and altough it's related to the font, it's really weird that it works with texts and fails with some others (there are other uppercase examples that work, it's just "LCS" the one that doesn't).

      Attachments

        1. input.xml
          2 kB
          Juan
        2. image.svg
          0.5 kB
          Juan
        3. gotham-fonts.zip
          205 kB
          Juan

        Activity

          People

            Unassigned Unassigned
            juani15151 Juan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: