Opened 12 years ago
Closed 8 months ago
#9250 closed bug (fixed)
TTC font format can't be identified
Reported by: | kurain | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | Servers/app_server | Version: | R1/alpha4.1 |
Keywords: | TTC FontManager TrueType2 | Cc: | linlongzhou@… |
Blocked By: | Blocking: | ||
Platform: | All |
Description
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.
Attachments (1)
Change History (7)
comment:1 by , 12 years ago
comment:2 by , 11 years ago
Cc: | added |
---|
comment:3 by , 11 years ago
Priority: | high → normal |
---|
comment:4 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
by , 8 months ago
Attachment: | Screenshot from 2024-05-05 14-53-44.png added |
---|
comment:6 by , 8 months ago
Milestone: | R1.1 → R1/beta5 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Looks to me it now works correctly.
Note:
See TracTickets
for help on using tickets.
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: http://haiku.it.su.se:8180/source/xref/src/libs/agg/font_freetype/agg_font_freetype.cpp#603 http://haiku.it.su.se:8180/source/xref/src/servers/app/font/FontManager.cpp#573