You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/06/23 21:12:25 UTC

[jira] [Commented] (PDFBOX-2159) horizontal line above shaded text when printing on HP1320

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

Andreas Lehmkühler commented on PDFBOX-2159:
--------------------------------------------

I guess we have to modify the transformation in PageDrawer#drawGlyph2D similar to that one in PageDrawer#writeFont. We have to transform the glyphs and not the Grahics2D. But I'm not sure how. My first test (remove the Graphics2D transform and call path.transform(at) instead before filling) led to an interesting result, but IMO it seems to be the right approach.

> horizontal line above shaded text when printing on HP1320
> ---------------------------------------------------------
>
>                 Key: PDFBOX-2159
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2159
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.6, 1.8.7
>            Reporter: Tilman Hausherr
>         Attachments: PDFBOX-2159.pdf, PDFBOX-2159.ps
>
>
> This is a follow-up to PDFBOX-2141 and somewhat of PDFBOX-485. In the later, [~vbier] reported weird printing problems related to a specific part of the code that I changed again recently. While the original problem is gone, there is a new one that we discovered in a discussion in PDFBOX-2141 and it appears e.g. on the 4th page of the file pslib-shading.pdf that is in PDFBOX-1942: "above the text there is a horizontal line (about 3mm thick) that goes over the whole page".
> I created a new test file that I am attaching. It has two shaded text lines and two unshaded, each time once with a standard 14 font and with an embedded type 1 font.
> [~vbier], please tell how many horizontal lines you get and where.



--
This message was sent by Atlassian JIRA
(v6.2#6252)