Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8123774

Improve font factory loading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • None

      There is number of improvements I would like to make to our font factory loading process.

      1) add support to pango

      2) setting prism.text=whatever on mac or windows will cause t2k to be used. If an invalid input is set it should be ignored and the default factory used.

      3) Need to move PrismFontLoader#isLCDTextSupported to PrismFontFactory. This is because this method needs to be reimplemented in PangoFactory (since this is the only class that knows is freetype supports LCD or not).

      4) I also would like to move PrismFontUtils#getLCDContrast() to PrismFontFactory so that all the font control flags are in the same place.

      5) the same way PrismFontFactory fallbacks to T2k if the native rasterizer is not available it should attempt to use the native rasterizer if T2K is not available

      6) PrismSettings#doT2KText (which is also based on prism.text) is misleading and prints out *wrong* debug information when -Dprism.verbose is set.

            fheidric Felipe Heidrich (Inactive)
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: