[cairo-bugs] [Bug 19487] Not all the relevant documents are followed when make a ToUnicode map for PDF

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 10 02:31:53 PST 2009


--- Comment #7 from Barry Schwartz <chemoelectric at chemoelectric.org>  2009-01-10 02:31:51 PST ---
(In reply to comment #6)
> Are you calling cairo_show_text() or cairo_show_glyphs()? Is there any reason
> you can not use cairo_show_text_glyphs()?
> I am still not convinced that cairo should parse all the glyph names. The list
> of glyph names in your fontforge script is over 100KB. That is a huge amount of
> bloat to add to cairo just for applications that do not want to use
> cairo_show_text_glyphs().

Then what about the ability for an application to supply a ToUnicode of its
own? This wouldn't cause any bloat in the library; however, application authors
would have to do more work (though likely much less work than with ActualText).

Also the table could be converted to a trie and maybe wouldn't take up nearly
so much space. In C code that would make a lot of sense. It's how TeX
compresses hyphenation dictionaries.

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