JDK 25 |
---|
25 b23Fixed |
Blocks :
|
|
Causes :
|
|
Relates :
|
On other platforms like Windows and Linux, the \n, \r and \t characters are ignored when drawing text to a Graphics2D object. On macOS this is not currently the case. See, for example, CMap.getControlCodeGlyph(int, boolean) or RasterPrinterJob.removeControlChars(String). This bug was found while running test/jdk/java/awt/print/PrinterJob/PrintTextTest.java on macOS.
|