TTCFontReader>> processCharacterMappingTable implementation question

Ned Konz ned at squeakland.org
Fri Mar 4 14:21:59 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 NEW changeset 
that should fix this (including for Windows symbol fonts). It needs testing, 
though, especially for TTCFonts.

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

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



More information about the Squeak-dev mailing list