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

LucidaTypewriterRegular.ttf has anomaly in instructions for the glyph for '2'

XMLWordPrintable

    • 2d
    • b81
    • x86
    • linux

      Name: gm110360 Date: 02/02/2004


      FULL PRODUCT VERSION :
      java version "1.4.2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
      Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)


      FULL OS VERSION :
      Linux lugabout 2.6.0-test2 #1 Sat Aug 2 19:46:35 EDT 2003 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz GenuineIntel GNU/Linux

      (but bug is OS-independent)

      A DESCRIPTION OF THE PROBLEM :
      The glyph for '2' in LucidaTypewriterRegular.ttf as shipped with 1.4.0 thru
      1.4.2 has its top-left set pixel one line too high at certain point sizes.

      It shows up at 12 pt at 75 dpi, 13 pt at 72 dpi, 10 pt at 96 dpi, 9 pt at 100 dpi, 7 pt at 133 dpi and 6pt at 150 dpi, to name some.

      Each of those works out to about 8 pixels wide and around 16 or so pixels high.

      Turning off the bytecode interpreter stops the bug, so the bug is in the font's instructions.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open up LucidaTypewriterRegular.ttf in a font viewer that is ttf bytecode enabled.

      Cycle through the point sizes until 2 looks wrong. (cf above for some sample dpi, pointsize tuples where it occurs.)



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The glyph should look like:

      xxxxx
           x
           x
           x
          x
         x
        x
       x
      x
      xxxxxx


      ACTUAL -
      but instead it looks like:

      x
       xxxx
           x
           x
           x
          x
         x
        x
       x
      x
      xxxxxx



      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 193573)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: