[
https://issues.apache.org/jira/browse/PDFBOX-678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089395#comment-14089395
]
Tilman Hausherr commented on PDFBOX-678:
----------------------------------------
Page 5 of the bugzilla867751.pdf file is excellent at high resolutions, the
only real difference I could spot is an improvement (second image in page 5).
The difference at low resolutions appears also with the implementation of Petr,
so don't bother.
Btw I don't really understand that you didn't keep the part for awt fonts. I
did so in my own version and it is three blocks of code, about 30 lines total.
If you're planning to kick out the awt stuff within the next few days then ok,
but if it takes longer than I'm in favour of inserting these lines.
Anyway, thanks John, Petr and kühn & weyh Software GmbH !
> Support missing Text Rendering Modes when rendering a PDF
> ---------------------------------------------------------
>
> Key: PDFBOX-678
> URL: https://issues.apache.org/jira/browse/PDFBOX-678
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Reporter: Maruan Sahyoun
> Assignee: John Hewson
> Attachments: Java Printing.pdf, TextRenderingModes.java.patch,
> bugzilla867751.pdf-5-new.png, bugzilla867751.pdf-5-old.png, example_026.pdf
>
>
> Of the 7 different Text Rendering Modes only mode 0 (Fill Text) is correctly
> implemented. Mode 1 (Stroke Text) falls back to Mode 0 and the others are not
> implemented. I'm looking to implement the missing modes (at least some of
> them).
> Before doing so I'm proposing a structural change to when rendering really
> occurs. Currently it's done within the PDxxxFont classes. I'd rather
> implement the (AWT) text output in PageDrawer (or helper classes within the
> same package) and use the font classes to return an AWT font by adding a
> getAwtFont method. Doing so we get a better separation between the PDF
> related stuff (PDxxx) and applications like PageDrawer. The current rendering
> specific code within the PDxxxFont classes can be retained for compatibility
> and marked deprecated at a later stage.
> WDYT?
--
This message was sent by Atlassian JIRA
(v6.2#6252)