You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Bertrand GILLIS (JIRA)" <ji...@apache.org> on 2010/04/08 13:52:36 UTC
[jira] Created: (PDFBOX-686) Invalid text rendering while printing
a PDF
Invalid text rendering while printing a PDF
-------------------------------------------
Key: PDFBOX-686
URL: https://issues.apache.org/jira/browse/PDFBOX-686
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.1.0, 1.0.0
Environment: Windows XP SP3 32 bit
Sun JDK 1.6.0_19
Reporter: Bertrand GILLIS
Fix For: 1.2.0
Attachments: sample.pdf
The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
Steps to reproduce:
- create a pdf with 1 page
- add a phrase that wrap on 2 lines at least
- print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Affects Version/s: 1.2.0
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0, 1.2.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Attachments: sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-686) Invalid text rendering while
printing a PDF
Posted by "Maruan Sahyoun (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855093#action_12855093 ]
Maruan Sahyoun commented on PDFBOX-686:
---------------------------------------
PDFStreamEngine.patch at PDFBOX-667 adresses that issue as the last char within a line of text was treated as a separate loop termination condition. In addition the misplacement occurs because of slightly different font metrics for Helvetica (used within the PDF) and ArialMT (used for drawing).
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-686) Invalid text rendering while
printing a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855283#action_12855283 ]
Bertrand GILLIS commented on PDFBOX-686:
----------------------------------------
Thanks Maruan for informing me about that related issue... I've missed PDFBOX-667.
But this issue is not limited to Helvetica... I have also the same problem with Times New Roman.
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-686:
--------------------------------------
Attachment: PDFBOX686-sample.png
PDFBOX686-sample2.png
PDFBOX-828 solves this issue too. See the attached results from PDFToImage
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0, 1.2.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.3.0
>
> Attachments: PDFBOX686-sample.png, PDFBOX686-sample2.png, sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Attachment: sample.pdf
A sample pdf file to reproduce the bug.
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.pdf
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Attachment: sample.xps
The sample pdf file printed to Microsoft XPS Document Writer
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-686.
---------------------------------------
Fix Version/s: 1.3.0
Resolution: Fixed
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0, 1.2.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.3.0
>
> Attachments: PDFBOX686-sample.png, PDFBOX686-sample2.png, sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Attachment: sample2.xps
The sample pdf file printed to Microsoft XPS Document Writer (using Times New Roman)
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Attachment: sample.jpg
A printscreen image whith the text rendering issue.
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Attachment: sample2.jpg
A printscreen image with the text rendering issue (using Times New Roman).
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Issue Comment Edited: (PDFBOX-686) Invalid text rendering while printing a PDF
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
I already made a patch for that at another bug reported but it's not
avail in trunk. the issue is with PDFStreamEngine. I'll attach the
patch to that issue later today.
Maruan
Am 08.04.2010 um 13:56 schrieb "Bertrand GILLIS (JIRA)"
<ji...@apache.org>:
>
> [ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854913#action_12854913
> ]
>
> Bertrand GILLIS edited comment on PDFBOX-686 at 4/8/10 11:55 AM:
> -----------------------------------------------------------------
>
> A printscreen image with the text rendering issue.
>
> was (Author: bgillis):
> A printscreen image whith the text rendering issue.
>
>> Invalid text rendering while printing a PDF
>> -------------------------------------------
>>
>> Key: PDFBOX-686
>> URL: https://issues.apache.org/jira/browse/PDFBOX-686
>> Project: PDFBox
>> Issue Type: Bug
>> Affects Versions: 1.0.0, 1.1.0
>> Environment: Windows XP SP3 32 bit
>> Sun JDK 1.6.0_19
>> Reporter: Bertrand GILLIS
>> Fix For: 1.2.0
>>
>> Attachments: sample.jpg, sample.pdf, sample.xps
>>
>>
>> The space between the last character and the previous character at
>> the end of a line of text is expanded or shrinked of 2px depending
>> on the printer selected.
>> Steps to reproduce:
>> - create a pdf with 1 page
>> - add a phrase that wrap on 2 lines at least
>> - print the pdf page throught org.apache.pdfbox.PrintPDF
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
[jira] Issue Comment Edited: (PDFBOX-686) Invalid text rendering
while printing a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854913#action_12854913 ]
Bertrand GILLIS edited comment on PDFBOX-686 at 4/8/10 11:55 AM:
-----------------------------------------------------------------
A printscreen image with the text rendering issue.
was (Author: bgillis):
A printscreen image whith the text rendering issue.
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Bertrand GILLIS (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand GILLIS updated PDFBOX-686:
-----------------------------------
Attachment: sample2.pdf
A sample pdf file to reproduce the bug (using Times New Roman).
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Fix For: 1.2.0
>
> Attachments: sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-686) Invalid text rendering while printing
a PDF
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated PDFBOX-686:
---------------------------------
Fix Version/s: (was: 1.2.0)
> Invalid text rendering while printing a PDF
> -------------------------------------------
>
> Key: PDFBOX-686
> URL: https://issues.apache.org/jira/browse/PDFBOX-686
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.1.0
> Environment: Windows XP SP3 32 bit
> Sun JDK 1.6.0_19
> Reporter: Bertrand GILLIS
> Attachments: sample.jpg, sample.pdf, sample.xps, sample2.jpg, sample2.pdf, sample2.xps
>
>
> The space between the last character and the previous character at the end of a line of text is expanded or shrinked of 2px depending on the printer selected.
> Steps to reproduce:
> - create a pdf with 1 page
> - add a phrase that wrap on 2 lines at least
> - print the pdf page throught org.apache.pdfbox.PrintPDF
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.