[Poppler-bugs] [Bug 8986] Fonts with _-separated ligatures in mapping tables

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Mon Nov 13 05:40:02 PST 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=8986          
     




------- Additional Comments From ed at catmur.co.uk  2006-11-13 05:40 -------
Idea for improved handling:

Change the 2-pass flow (currently, recognised names then numeric codes, writing
into a Unicode[256] for initialising in CharCodeToUnicode::make8BitToUnicode) to
have a preliminary pass deciding whether to use hex or decimal, and a single
main pass which reads character names, numeric codes and ligatures, by passing
components to a small function which takes the component and "hex" bool and
writes into uBuf if successful.

This will mean initialising CharCodeToUnicode::make8BitToUnicode with an empty
Unicode[256] (because the main pass needs to use ::setMapping), but that's just
a performance hack and ::setMapping is fast for the single-character case anyway.

Hopefully the code will be clearer than the above.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Poppler-bugs mailing list