Commit f02c8093 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

баг в движке шрифтов

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61028 954022d7-b5bf-4e40-9824-e11837661b57
parent bff12ae8
...@@ -1294,6 +1294,7 @@ function CFontFile(fileName, faceIndex) ...@@ -1294,6 +1294,7 @@ function CFontFile(fileName, faceIndex)
} }
else if (FT_ENCODING_NONE == pEncoding || FT_ENCODING_MS_SYMBOL == pEncoding || FT_ENCODING_APPLE_ROMAN == pEncoding) else if (FT_ENCODING_NONE == pEncoding || FT_ENCODING_MS_SYMBOL == pEncoding || FT_ENCODING_APPLE_ROMAN == pEncoding)
{ {
/*
var res_code = FT_Get_First_Char(this.m_pFace); var res_code = FT_Get_First_Char(this.m_pFace);
while (res_code.gindex != 0) while (res_code.gindex != 0)
{ {
...@@ -1304,7 +1305,8 @@ function CFontFile(fileName, faceIndex) ...@@ -1304,7 +1305,8 @@ function CFontFile(fileName, faceIndex)
pnCMapIndex.index = nIndex; pnCMapIndex.index = nIndex;
break; break;
} }
} }
*/
nCharIndex = FT_Get_Char_Index(this.m_pFace, lUnicode); nCharIndex = FT_Get_Char_Index(this.m_pFace, lUnicode);
if (0 != nCharIndex) if (0 != nCharIndex)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment