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

Clarify interpretation of font and text metrics under font transforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • 2d
    • sparc
    • solaris_2.6

      Name: atR10191 Date: 11/30/2001


      the specification for the FontMetrics class does not state, if
      'ascent', 'font ascent', 'descent', 'font descent', 'advance width',
      'total advance width', 'standard leading', 'standard height',
      'distance from the leftmost point to the rightmost' can have negative values
      (from common sense they can not).
      There can be wrong interpretation of the specification (current tests
      for the FontMetrics class would fail in case of negative values).
      So the explicit statement for the possibility of negative values for these
      should be added.
      ======================================================================

            dougfelt Doug Felt
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: