[OpenJDK 2D-Dev] PostScript PrintJob LANDSCAPE computes wrong value for getStringBounds

Alvaro Viñuela Carnicero avinuela at gmv.com
Wed Dec 14 15:46:42 UTC 2016


Hello,

We have been experienced misalignment of text  when using a StreamPrintServiceFactory or StreamPrintService to create a print job for printing (text and graphics) to postscript with landscape attribute.

A similar error was reported in JBS with title:
"PostScript PrintJob LANDSCAPE computes wrong value for getStringBounds"
https://bugs.openjdk.java.net/browse/JDK-8159061?jql=labels%20%3D%20jdk-port

Using the Bugtest provided in this bug, we could verify correct behaviour on opend-jdk_1.6.0_24, but not in opend-jdk_1.8.0_65 and opend-jdk_1.8.0_111 as in our application that was correctly printing in old openjdk version. As also mentioned in reported bug, error is not reproducible (as in our application too) using jdk binaries.

Bug was closed because it is not reproducible on jdk binaries. Is there any possibility to solved this bug on future openjdk releases?. Are we forced to use jdk binaries to get this issue solved?.

Thank you very much in advance for your help.

Best regards,

Álvaro.

P Please consider the environment before printing this e-mail.

______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

______________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20161214/60737d9b/attachment.html>


More information about the 2d-dev mailing list