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

PATCH - autodetection of TTC fonts, and placement in cache

    XMLWordPrintableJSON

Details

    • 44737

    Description

      The attached patch adds support for *.ttc to the auto-detection mechanism. This is my original work, and I'm submitting it for inclusion in FOP under ALv2.0.

      Demand for this capability may increase as usage of Microsoft's
      proprietary ClearType Collection fonts increases, since Cambria is the
      default font for Word 2007 headings, and its delivered in a .ttc

      The attachment is an update of the patch I posted to fop-dev on 21 March.

      This updated patch compiles on Java 1.4, and no longer includes the FOray Panose stuff.

      I'm using the fonts package by itself - principally for its
      autodetection capabilities. So I don't use PrintRendererConfigurator

      • that will need to be altered further to properly use the patch.

      Attachments

        1. patch-ttc-autodetect.txt
          23 kB
          Jason Harrop

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            jharrop Jason Harrop
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: