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

if (true === font.m_bUseKerning)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56594 954022d7-b5bf-4e40-9824-e11837661b57
parent c1379b85
......@@ -774,9 +774,9 @@ function LoadFontFile(library, stream_index, name, faceindex)
font.ResetTextMatrix();
font.ResetFontMatrix();
if (true === this.m_bUseKerning)
if (true === font.m_bUseKerning)
{
this.m_bUseKerning = ((face.face_flags & 64) != 0 ? true : false);
font.m_bUseKerning = ((face.face_flags & 64) != 0 ? true : false);
}
return font;
......
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