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

improve glyph bounding box cache in font resource

XMLWordPrintable

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


      In T2KFontFile#getGlyphBoundingBox() the cache gets initialized to the max possible size (glyph count).
      That is way too much, the likelihood of measuring all glyphs in a font is extreme low. Furthermore, it is not uncommon for a font to have several thousands glyphs.

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

              Created:
              Updated:
              Resolved:
              Imported: