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

Generated font metrics do not contains GSUB, GPOS, GDEF tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.1
    • None
    • font/opentype
    • None
    • All OS/Platforms affected

    Description

      In order to reduce the memory footprint of an ApacheFOP based application, where I have several Java2D based renderers, I created the XML metrics for the fonts used (more then 20). This way org.apache.fop.render.java2d.ConfiguredFontCollection creates instances of LazyFont.

      THE PROBLEM:

      The generated metrics.xml do not contain the GSUB, GPOS, GDEF tables info . This led to an incorrect generated output.

      Eg: instead of this 🇮🇹 the generated pdf has 🇮 🇹.

      (I'm working on a for ApacheFOP that supports Surrogate Pairs and I'm testing it with Emojis FOP-1969)

      Attachments

        Activity

          People

            Unassigned Unassigned
            rondelli Simone Rondelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: