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

Hebrew font.properties incorrect for 2D

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.0
    • client-libs
    • None
    • tiger
    • x86
    • windows_2000



      Name: nl37777 Date: 07/10/2002

      The font.properties.iw file for Windows has two serious flaws:
      1) It provides component font mappings only for the plain style.
      Component font names for bold, italic, and bold-italic are missing.
      2) It uses font file names for the David fonts that don't match the
      actual font file names on current Windows systems. The file gives the
      font file names as DAVIDY.TTF (plain), DAVIDBDY.TTF (bold), DAVIDIY.TTF
      (italic), and DAVIDBIY.TTF (bold-italic), while Windows XP, 2000, ME, NT
      4.0 all only have DAVID.TTF (plain), DAVIDBD.TTF (bold), and
      DAVIDTR.ttf (transparent).

      These flaws don't seem to affect AWT, but have effects on 2D rendering
      that can be observed in the CharView test application:
      - Graphics.drawString, Serif, plain
        - old: all glyphs come from Times New Roman.
        - new: digits and some other glyphs come from David;
               most glyphs come from Times New Roman
      - Graphics.drawString, Serif, bold
        - old: all glyphs are algorithmically bolded glyphs
               from Times New Roman
        - new: digits and some other glyphs are from David Bold;
               most glyphs are from Times New Roman Bold
      - Graphics.drawString, Serif, italic
        - old: all glyphs are algorithmically slanted glyphs
               from Times New Roman
        - new: digits and some other glyphs are algorithmically
               slanted glyphs from David; most glyphs come
               from Times New Roman Italic
      - Button, serif, plain
        - old: digits and some other glyphs come from David;
               most glyphs come from Times New Roman
        - new: same.
      - Button, serif, bold
        - old: digits and some other glyphs come from David Bold;
               most glyphs come from Times New Roman Bold
        - new: same.
      - Button, serif, italic
        - old: digits and some other glyphs are algorithmically
               slanted glyphs from David; most glyphs come
               from Times New Roman Italic
        - new: same

      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: