[macos] GlyphMetrics advance does not consider font rotation

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: client-libs
    • None
    • 2d
    • os_x

      On macOS, GlyphMetrics advance provides only the x-component of the advance, not the y-component. This is usually not an issue, since most text does not have any y-component advance. However, if the font is rotated, this does cause issues.

      This bug was discovered during fixing of the manual test "java/awt/print/PrinterJob/PrintTextTest.java" (this test is intended to test printing, but this bug was actually causing the GlyphVectors on page 8 to be drawn incorrectly on screen, not just on paper).

            Assignee:
            Daniel Gredler
            Reporter:
            Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: