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

Font style attributes ignored on second creation of Font of same size.

XMLWordPrintable

    • 2d
    • kestrel
    • generic, x86
    • generic, windows_nt

      Thist happens both on win32 and Solaris.
      When a Font is created through an attribute Map (i.e. with FAMILY, SIZE, POSTURE and WEIGHT attributes), the POSTURE and WEIGHT attribute are ignored the second time a Font of the same family is created. For example, if the first time a Font of the "Lucida Sans Typewriter" family is created in bold italic, then all subsequent creation of "Lucida Sans Typewriter" Fonts will be bold italic even though the POSTURE and WEIGHT may be set to REGULAR.
      Note that this behavior is not seen for logical fonts (serif, sanserif, etc...)

            pkejriwasunw Parry Kejriwal (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: