Reintegrating Bill Hayden's changes to FontStyle::ConvertToUnicode in some currently-disabled code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10858 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -128,7 +128,7 @@ int32 FontStyle::GetFlags(void) const
|
|||||||
int16 FontStyle::ConvertToUnicode(uint16 c)
|
int16 FontStyle::ConvertToUnicode(uint16 c)
|
||||||
{
|
{
|
||||||
FT_Face f;
|
FT_Face f;
|
||||||
if(FTC_Manager_Lookup_Face(ftmanager,cachedface,&f)!=0)
|
if(FTC_Manager_LookupFace(ftmanager,(FTC_FaceID)cachedface,&f)!=0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return FT_Get_Char_Index(f,c);
|
return FT_Get_Char_Index(f,c);
|
||||||
|
|||||||
Reference in New Issue
Block a user