Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000922 [Squeak] TrueType minor always 03-04-05 15:13 09-12-07 01:45
Reporter ned View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.8
Summary 0000922: TT*FontReaders don't handle fonts with just a Unicode (platform 0) character map
Description 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?

The attached changeset fixes this for all but platform=3,specific=0 (Windows symbol) fonts (like, for instance, Marlett).

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.
Additional Information
Attached Files  UnicodeCharMapsOK-nk.5.cs [^] (18,491 bytes) 03-04-05 16:18

- Relationships
child of 0006570assigned tim A Mother for font and font test problems 

- Notes
(0001229 - 82 - 94 - 94 - 94 - 94 - 94)
ned
03-04-05 16:19

v5 fixes the windows symbol fonts too.

Needs testing, especially with TTCFonts.
 

- Issue History
Date Modified Username Field Change
03-04-05 15:13 ned New Issue
03-04-05 15:13 ned File Added: UnicodeCharMapsOK-nk.3.cs
03-04-05 16:18 ned File Added: UnicodeCharMapsOK-nk.5.cs
03-04-05 16:18 ned File Deleted: UnicodeCharMapsOK-nk.3.cs
03-04-05 16:19 ned Note Added: 0001229
10-25-05 05:18 andreas Category Any => Fonts
09-12-07 01:45 wiz Relationship added child of 0006570


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
46 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker