[cairo-bugs] [Bug 11612] pack as many glyphs as possible in each cairo_show_glyphs() call

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 5 03:45:36 PDT 2008


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





--- Comment #19 from Adrian Johnson <ajohnson at redneon.com>  2008-06-05 03:45:33 PST ---
(In reply to comment #18)
> Many thanks for the improvement, Adrian.
> 
> Just out of curiosity (and I'm no PDF expert, so I don't know whether the
> following question is nonsense), wouldn't it be possible that poppler/cairo
> generates a smaller PDF document than the original one?

Only if the original PDF creator was very inefficient in the way it generated
the PDF and the particular inefficiencies are things that cairo can optimize -
such as the string merging that I recently committed.

Generally you are going to see an increase in size when doing
PDF->Poppler->Cairo->PDF. Of course we would like to keep the increase as small
as possible and there a few more optimizations that can be done to further
reduce the size with out losing any information. For example keeping JPEG
images in JPEG format in one such optimization planned for cairo.

But converting a PDF to PDF is generally not an interesting operation. You
already have the file in PDF format. If you are looking to further reduce the
size of your PDF there are specialist tools for processing PDF files that can
do this.


-- 
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