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

SVG text not generated for certain fonts when using subset embedding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4, 2.6
    • None
    • None
    • None

    Description

      When attempting to use svg text elements with certains fonts which are configured in the xconf file with a embedding-mode of `subset`, the text is not generated in a generated pdf.

       

      This however does not impact all nimbus fonts. And using the font in a block tag works as well.

       

      I am not sure as to the cause of this issue and whether this should be posted on the Batik project instead.

       

      Problematic otf fonts identified:

      • NimbusSans
      • NimbusRoman

       

      Replicated on:

      • Fedora 34 - fop 2.6 & 2.4
      • Ubuntu 20.04 - fop 2.6

       

      Replication steps:

      • Use fo file and xconf file to generate pdf

      Attachments

        1. fop_replication.xconf
          1 kB
          Louis-Philippe Querel
        2. image-2021-05-25-10-04-58-238.png
          26 kB
          Louis-Philippe Querel
        3. image-2021-05-25-10-06-18-290.png
          14 kB
          Louis-Philippe Querel
        4. replication.fo
          3 kB
          Louis-Philippe Querel
        5. replication.pdf
          79 kB
          Louis-Philippe Querel

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lpquerel Louis-Philippe Querel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: