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:
DarkWyrm 2005-01-18 23:18:37 +00:00
parent 199b0a6a22
commit b8fb69518c

View File

@ -128,7 +128,7 @@ int32 FontStyle::GetFlags(void) const
int16 FontStyle::ConvertToUnicode(uint16 c)
{
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 FT_Get_Char_Index(f,c);