Hello Phil,

Thank you very much for your answer and your help with this bug.

Our problem is reproducible by setting two lines and a text in between. The 
relative distance between text and lines is different printing in landscape, so 
text appears out of the space between lines.

We will keep posted to your progress and news.

Thank you.

Best regards,

Álvaro.

From: Phil Race [mailto:philip.r...@oracle.com]
Sent: martes, 20 de diciembre de 2016 23:35
To: Alvaro Viñuela Carnicero <avinu...@gmv.com>; 2d-dev@openjdk.java.net
Cc: Óscar Menéndez Sánchez <omenen...@gmv.com>
Subject: Re: [OpenJDK 2D-Dev] PostScript PrintJob LANDSCAPE computes wrong 
value for getStringBounds

There is also https://bugs.openjdk.java.net/browse/JDK-8139178
The problem there sounds like mixing up horizontal and vertical under rotation.
But yours (if I read you correctly) is more that the advances are off by a 
little.

I think 
8159061<https://bugs.openjdk.java.net/browse/JDK-8159061?jql=labels%20%3D%20jdk-port>
 should be re-opened for examination since a binary built
from standard OpenJDK source reproduces this on a current O/S (Ubuntu 16.04)

I used OpenJDK 8 GA (very old) and current OpenJDK 9

-phil.

On 12/14/2016 07:46 AM, Alvaro Viñuela Carnicero wrote:
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. Thank you.
________________________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener 
información clasificada por su emisor como confidencial en el marco de su 
Sistema de Gestión de Seguridad de la Información siendo para uso exclusivo del 
destinatario, quedando prohibida su divulgación copia o distribución a terceros 
sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje 
erróneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboración.
________________________________
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação 
confidencial, de acordo com nosso Sistema de Gestão de Segurança da Informação, 
sendo para uso exclusivo do destinatário e estando proibida a sua divulgação, 
cópia ou distribuição a terceiros sem autorização expressa do remetente da 
mesma. Se recebeu esta mensagem por engano, por favor avise de imediato o 
remetente e apague-a. Obrigado pela sua colaboração.
________________________________


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.

______________________

Reply via email to