Opened 8 years ago

Last modified 3 years ago

#9250 assigned bug

TTC font format can't be identified

Reported by: kurain Owned by: nobody
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/alpha4.1
Keywords: TTC FontManager TrueType2 Cc: linlongzhou@…
Blocked By: Blocking:
Platform: All


I have tried wqy-microhei.ttc font in Haiku. but it can't be identified. and if I change its suffix to .ttf, it can be found, but there is only one family in it, which actually has two families, one is plain font, and another is fixed font.

now what haiku uses in system is wqy-microhei.ttf, which is the same as wqy-microhei.ttc.

Change History (4)

comment:1 by kurain, 8 years ago

And I have checked our FontManager.cpp, which has something incorrect when it's loading fonts. Also I have found that agg also has the similar functions, which is used for loading fonts, which should be correct.

As for one font file, it may have one or more faces. we should add some codes to handle this. just like how agg handles.

detailed code, as below:

comment:2 by mshlyn, 7 years ago

Cc: linlongzhou@… added

comment:3 by mmadia, 6 years ago

Priority: highnormal

comment:4 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.