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

improve glyph bounding box cache in font resource

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description


      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: