bugThe FreeType Project - Bugs: bug #26865, FT_New_Face() ok, but...

 
 

bug #26865: FT_New_Face() ok, but face->charmap == NULL

Submitted by:  None
Submitted on:  Mon 22 Jun 2009 02:25:58 AM UTC  
 
Severity: 3 - NormalItem Group: Incorrect behaviour
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 24 Jun 2009 01:55:57 PM UTC, comment #1:

This is a weird font, and it has indeed no Unicode encoded
charmap, so `charmap' is NULL. Why have you filed a bug
report? This is not a bug at all!

You have to use something like `iconv' to convert Big5 encoded
input characters to the font's encoding, GBK.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 22 Jun 2009 02:25:58 AM UTC, original submission:

For some chinese fonts:
(example for http://hn.veeqi.com/200905/font/0806/0308font_veeqi_xdrr54.rar
)
face->charmap == NULL;
face->num_charmaps == 3;

face->charmaps[0].platform_id == 1,//Macintosh
face->charmaps[0].encoding_id == 0;//Roman

face->charmaps[1].platform_id == 1,//Macintosh
face->charmaps[1].encoding_id == 2;//Chinese

face->charmaps[2].platform_id == 3,//Microsoft
face->charmaps[2].encoding_id == 4;//Chinese-gbk

What can we do with it
if we shall show some big5-words ?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Jun 2009 01:55:57 PM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1