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

Unhandled OutOfBounds exception while parsing TTF files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • 2d
    • b33
    • generic
    • generic

      For some TTF files with CMAP format 4 i am seeing following exception:

      java.lang.ArrayIndexOutOfBoundsException: -2147483648
              at sun.font.CMap$CMapFormat4.getGlyph(CMap.java:547)
              at sun.font.TrueTypeGlyphMapper.charToGlyph(TrueTypeGlyphMapper.java:115)
              at sun.font.CharToGlyphMapper.canDisplay(CharToGlyphMapper.java:40)
              at sun.font.Font2D.canDisplay(Font2D.java:426)
              at java.awt.Font.canDisplay(Font.java:1780)








      ###@###.### 2005-03-29 16:25:48 GMT

            igor Igor Nekrestyanov (Inactive)
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: