[cairo-bugs] [Bug 23364] Useless digits for float numbers in Cairo output

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 17 03:14:23 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23364


clark <wzhu at microstrategy.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wzhu at microstrategy.com




--- Comment #2 from clark <wzhu at microstrategy.com>  2009-08-17 03:14:22 PST ---
(In reply to comment #0)
> 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