[cairo-bugs] [Bug 23364] New: Useless digits for float numbers in Cairo output
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 17 03:11:12 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=23364
Summary: Useless digits for float numbers in Cairo output
Product: cairo
Version: 1.8.8
Platform: Other
OS/Version: All
Status: NEW
Severity: major
Priority: high
Component: pdf backend
AssignedTo: ajohnson at redneon.com
ReportedBy: wzhu at microstrategy.com
QAContact: cairo-bugs at cairographics.org
I delved into source file of PDF output from Cairo. I found there are many
useless digits for float numbers. Take the following section for example:
#####
<000a0006>Tj
2.979353 1.142857 Td
<0006000100010003>Tj
0.449219 -1.142857 Td
<000a0008>Tj
3.12221 1.142857 Td
<0006000100010003>Tj
0.449219 -1.142857 Td
######
Maybe we can change
2.979353 1.142857 Td
to
2.98 1.14 Td
This will reduce the size of Cairo output. I notice there are many other
appearances for rg, RG, etc. I attach one PDF file from Cairo for references.
Thanks.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list