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

Fop doesn't handle CID TrueType fonts in PostScript output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Resolution: Fixed
    • 1.0
    • None
    • font/unqualified
    • None
    • Operating System: Linux
      Platform: PC
    • 52338

    Description

      I'm using fop 1.0 and am having issues with a TrueType CID font - all the Myriad Pro family in TrueType.

      I can embed them in PDF and get perfect results from fop. Unfortunately, I have to include some other resources that're supplied as EPSs or PDFs. PDF-in-PDF embedding via Jeremias's fop-pdf-image ext works but has font duplication problems that mean I can't use it, so I have to use PostScript output from FOP with embedded EPSs then chuck the result through Distiller.

      That's where the problem arises. All the text using CID fonts, like Myriad Pro, comes out either as "[X]" boxes in the final PDF with the occasional odd random glyph scattered through it.

      The same fonts embed and work perfectly in FOP's PDF output.

      I can't attach the fonts for licensing reasons, but I can supply for testing purposes to anyone interested. The fonts were converted from OpenType versions (which fop doesn't support) using FontForge, so they're not studio originals, but they work perfectly in PDF embedding and other applications.

      I've filed this under "fonts" but it should possibly be "ps" instead.

      I'll test with latest svn trunk and report on that.

      Attachments

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            ringerc Craig Ringer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: