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

John Hewson edited comment on PDFBOX-2373 at 2/6/15 8:05 PM:
-------------------------------------------------------------

{quote}
In other words: even if these numbers look like "a fraction of a pixel", 
changing them does have an impact.
{quote}

Yep, you're going to see rounding effects, so if you have 0.484 + 0.016 then 
it's enough to get a 1/2 pixel which will alter the anti-aliasing. Actually a 
1/4 pixel would be enough to do this. Technically PDF doesn't provide sub-pixel 
accuracy because of its scan line model, but Java2D doesn't work in the same 
way.

The lowest values which work are likely to be the best for our rendering needs.


was (Author: jahewson):
{quote}
In other words: even if these numbers look like "a fraction of a pixel", 
changing them does have an impact.
{quote}

Yep, you're going to see rounding effects, so if you have 0.484 + 0.016 then 
it's enough to get a 1/2 pixels which will alter the anti-aliasing. Actually a 
1/4 pixel would be enough to do this. Technically PDF doesn't provide sub-pixel 
accuracy because of its scan line model, but Java2D doesn't work in the same 
way.

The lowest values which work are likely to be the best for our rendering needs.

> Rendering at 72 dpi crashes java
> --------------------------------
>
>                 Key: PDFBOX-2373
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2373
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.7, 1.8.8, 2.0.0
>         Environment: W7 64bit 1.7.0_65; W7 64bit 1.7.0_71; W7 64bit 1.7.0_75; 
> Fedora 1.8.0_31-b13; OSX 10.9.5 1.8.0_20
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>              Labels: crash
>             Fix For: 2.0.0
>
>         Attachments: 228-228597-p19-crash.pdf, 
> _usr_lib_jvm_java-8-oracle_jre_bin_java.1000.crash
>
>
> Rendering the attached file crashes java. It happens only at 72 dpi. It can 
> be reproduced with the PDFToImage cmd app, not with PDFReader.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to