TTCFontReader>> processCharacterMappingTable implementation question

John M McIntosh johnmci at smalltalkconsulting.com
Thu Mar 3 22:08:02 UTC 2005


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?

	
--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list