TTCFontReader>> processCharacterMappingTable implementation question

Ned Konz ned at squeakland.org
Fri Mar 4 13:15:02 UTC 2005


On Thursday 03 March 2005 2:08 pm, John M McIntosh wrote:
> I'll note that TTCFontReader>>processCharacterMappingTable: entry
>
> has
>
> (pID = 1 or:[pID = 3]) ifTrue:[
>
> This is checking for macintosh or windows character mapping however I
> attempted to read in a random font, picking
>
> /Library/Fonts/Corsiva.ttf
>
> That fails with unknown character mapping because we check for mapping
> type 1 or 3 only.  Now according to
>
> http://developer.apple.com/fonts/TTRefMan/RM06/Chap6name.html#ID
>
> says that pID = 0 means
> 0 Unicode Indicates Unicode version
>
> So I'm wonder if any one is working on reading those font types?

I have reported this on Mantis as bug#922 and have attached a changeset that 
fixes this for all but platform=3,specific=0 (Windows symbol) fonts (like, 
for instance, Marlett).

http://bugs.impara.de/view.php?id=922

My idea was to just take such fonts and load their glyphs at $A through 
whatever so they could be typed easily. However, I didn't get that working 
yet, and I'm too busy to finish it.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list