freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slight bug(?) in ftnameid.h


From: Bertrand Petit
Subject: Slight bug(?) in ftnameid.h
Date: Wed, 29 Dec 1999 16:51:19 +0100

        I just found that the encoding IDs for the micro$oft platform
specified in ftnameid.h does not match the IDs in the m$
specifications found in the doc of the cmap table.

        The freetype header has:

------------------------------------------------------------------------------
[...]
#define TT_MS_ID_SYMBOL_CS      0
#define TT_MS_ID_UNICODE_CS     1
#define TT_MS_ID_SJIS           2
#define TT_MS_ID_GB2312         3
#define TT_MS_ID_BIG_5          4
#define TT_MS_ID_WANSUNG        5
#define TT_MS_ID_JOHAB          6
[...]
------------------------------------------------------------------------------

        And m$ (in cmap.htm) has:

------------------------------------------------------------------------------
[...]
    Platform ID Encoding ID Description                                       
                                                                              
    3           0           Symbol                                            
    3           1           Unicode                                           
    3           2           ShiftJIS                                          
    3           3           Big5                                              
    3           4           PRC                                               
    3           5           Wansung                                           
    3           6           Johab                                             
[...]
------------------------------------------------------------------------------

-- 
Toujours pas de ~/.signature



reply via email to

[Prev in Thread] Current Thread [Next in Thread]