[poppler] Solving 8 chars maximum limit on a glyph representation

Albert Astals Cid aacid at kde.org
Sat May 3 16:07:28 PDT 2008


A Diumenge 04 Maig 2008, Albert Astals Cid va escriure:
> Like Ross pdf showed, we have a maximum limit of 8 char for the
> representation of a glyph, so even there's a char that identifies itself as
> \rightarrow pdftotext only gives \rightar
>
> I'm fixing this hardcoded limit with the attached patch. As side effects
> we're having a speed boost as i stop copying things when calling
> CharCodeToUnicode::mapToUnicode and lower memory usage as for each
> CharCodeToUnicodeString now only the exact memory needed is used, not a
> fixed 8 like before.
>
> I'm attaching the patch for further review. If noone disagrees i'll commit
> on sunday 11.
>
> Albert

Damn, i sent an old patch, sending the correct one.

Albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LongerCharNames.patch
Type: text/x-diff
Size: 13125 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/poppler/attachments/20080504/a8126ee7/attachment-0001.patch 


More information about the poppler mailing list