Bug 25880 - [PATCH] avoid expotential notation for small transformation numbers.
Summary: [PATCH] avoid expotential notation for small transformation numbers.
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: trunk
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-03 19:44 UTC by Finn Bock
Modified: 2012-04-01 06:27 UTC (History)
0 users



Attachments
testcase .fo (775 bytes, text/plain)
2004-01-03 19:45 UTC, Finn Bock
Details
A unified diff against HEAD.- (1.22 KB, patch)
2004-01-03 19:46 UTC, Finn Bock
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Finn Bock 2004-01-03 19:44:40 UTC
The attached example cause a the PDF transformation matrix to contain values 
like:
-1.0 1.2246467991473532E-16 -1.2246467991473532E-16 -1.0

which is invalid for PDF. Acrobat 6.0 complains when I open the example.

The patch calls the PDFNumber.doubleOut to prevent the use of expotential 
notation.
Comment 1 Finn Bock 2004-01-03 19:45:40 UTC
Created attachment 9785 [details]
testcase .fo
Comment 2 Finn Bock 2004-01-03 19:46:32 UTC
Created attachment 9786 [details]
A unified diff against HEAD.-
Comment 3 Finn Bock 2004-01-21 18:53:40 UTC
Applied.
Comment 4 Glenn Adams 2012-04-01 06:27:21 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed