[haiku-bugs] Re: [Haiku] #9250: TTC font format can't be identified

  • From: "kurain" <trac@xxxxxxxxxxxx>
  • Date: Sat, 08 Dec 2012 04:19:25 -0000

#9250: TTC font format can't be identified
----------------------------------+---------------------------------------
   Reporter:  kurain              |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  high                |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/alpha4.1
 Resolution:                      |   Keywords:  TTC FontManager TrueType2
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+---------------------------------------

Comment (by kurain):

 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]

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9250#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: