-
Bug
-
Resolution: Fixed
-
P3
-
11, 15, 16
-
b28
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8261872 | 11.0.11 | Alexandr Scherbatiy | P3 | Resolved | Fixed | b04 |
Printing text using GlyphVector outline has bad quality on printers with low DPI on Windows OS.
The GDI system used for text printing on Windows accepts only integer path coordinates.
Rounding GlyphVector outline coordinates leads to distorted printed text.
To reproduce the issue run the attached PrintGlyphVectorOutlineSample.java file on Windows and select a low DPI printer in the printer dialog. The sample prints two lines, one using Graphics drawString() method and another by
filling GlyphVector outline. Chars on the second line are distorted.
It is also possible to reproduce the issue running the sample and printing the text to PDF (see attached fill-glyph-vector-outline.png screenshot).
The GDI system used for text printing on Windows accepts only integer path coordinates.
Rounding GlyphVector outline coordinates leads to distorted printed text.
To reproduce the issue run the attached PrintGlyphVectorOutlineSample.java file on Windows and select a low DPI printer in the printer dialog. The sample prints two lines, one using Graphics drawString() method and another by
filling GlyphVector outline. Chars on the second line are distorted.
It is also possible to reproduce the issue running the sample and printing the text to PDF (see attached fill-glyph-vector-outline.png screenshot).
- backported by
-
JDK-8261872 Printed GlyphVector outline with low DPI has bad quality on Windows
- Resolved
- relates to
-
JDK-8262470 Printed GlyphVector outline with low DPI has bad quality on Windows
- Resolved
-
JDK-8259007 This test printed a blank page
- Resolved