Font file can not load correctly by using AddFontMemResourceEx/AddFontResourceEx

  • Thread starter Thread starter 12131415
  • Start date Start date
1

12131415

Guest
I have a font file (.ttf), but I can not load correctly it by using API like AddFontMemResourceEx/AddFontResourceEx, although these functions return the sucessfully.

but there is no character in this font when I using the function GetFontUnicodeRanges

but I can install it by just double click it and can be verify it's installed correctly.

I also try to use the MS Font Validator, and the result shows about cmap:

P0312 The table version number is 0
P0307 Each subtable offset is within the table
P0306 Each subtable length is within the table
P0309 The subtables are in the correct order
P0302 There are no duplicate subtables
P0308 No overlapping subtables were found
P0310 Each subtable's format number is valid
W0306 The format is 12, but the encoding id is not 10 PlatID = 0, EncID = 3, Fmt = 12
P0305 The subtable internal format appears valid PlatID = 0, EncID = 3, Fmt = 12
P0305 The subtable internal format appears valid PlatID = 3, EncID = 1, Fmt = 4
W0302 The table does not contain any Apple subtables
W0301 Apple logo mapping test not performed, cmap 1,0 not present
W0305 Character code U+20AC, the euro character, is not mapped in cmap 3,1
P0311 No characters are mapped in the Unicode Private Use area
P0314
All non mac subtables have a language field of zero

can someone help me to take a look at it?


thanks

Continue reading...
 
Back
Top