[OpenJDK 2D-Dev] PostScript PrintJob LANDSCAPE computes wrong value for getStringBounds
Phil Race
philip.race at oracle.com
Tue Dec 20 22:34:46 UTC 2016
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.
>
>
> PPlease 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.
> ------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20161220/7b444d42/attachment.html>
More information about the 2d-dev
mailing list