You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/08/04 17:37:00 UTC

[jira] [Commented] (PDFBOX-4930) Font thickness issue when we use PDFBox for generating images from PDF

    [ https://issues.apache.org/jira/browse/PDFBOX-4930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170983#comment-17170983 ] 

Tilman Hausherr commented on PDFBOX-4930:
-----------------------------------------

That PDF uses 186 images of text instead of using text. These images have the /Interpolate flag set to "false". However PDFBox only doesn't interpolate when the image is also scaled up (because of barcodes). Your PDF has many images of nominal size 2x2. But they have a mask that is bigger. So your images are considered to be scaled up but are not really. I did a quick test using the actual ARGB size and then your PDF renders nicely. I'll do some more tests to see how this works on other PDFs.

> Font thickness issue when we use PDFBox for generating images from PDF
> ----------------------------------------------------------------------
>
>                 Key: PDFBOX-4930
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4930
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox, PDModel, Rendering
>    Affects Versions: 2.0.20
>            Reporter: Dushyanth Balasubramanian
>            Priority: Major
>         Attachments: FontThickness__Original.pdf, FontThickness__Page1.png, FontThickness__Page2.png, License for Example Bug Issues.pdf
>
>
> Hello PDFBox team,
> We are seeing issues in the thickness of fonts when we use PDBox to convert a PDF to an image. This is giving a bad user experience. The version we are using is 2.0.20 and it was also happening in the previous version 2.0.19. I have attached the original image and the converted image for your debugging purposes. Please take a look.
> I am also attaching a license document which clearly states that these images are only for debugging purpose and you will delete this after viewing it. Thanks again.[^FontThickness__Original.pdf]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org