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

flat skin full realize

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58691 954022d7-b5bf-4e40-9824-e11837661b57
parent a1df4cd1
......@@ -1597,4 +1597,32 @@ function CFontManager()
this.m_pFont.SetStringGID(this.m_bStringGID);
}
this.SetHintsProps = function(bIsHinting, bIsSubpixHinting)
{
if (undefined === g_fontManager.m_oLibrary.tt_hint_props)
return;
if (bIsHinting && bIsSubpixHinting)
{
this.m_oLibrary.tt_hint_props.TT_USE_BYTECODE_INTERPRETER = true;
this.m_oLibrary.tt_hint_props.TT_CONFIG_OPTION_SUBPIXEL_HINTING = true;
this.LOAD_MODE = 40968;
}
else if (bIsHinting)
{
this.m_oLibrary.tt_hint_props.TT_USE_BYTECODE_INTERPRETER = true;
this.m_oLibrary.tt_hint_props.TT_CONFIG_OPTION_SUBPIXEL_HINTING = false;
this.LOAD_MODE = 40968;
}
else
{
this.m_oLibrary.tt_hint_props.TT_USE_BYTECODE_INTERPRETER = true;
this.m_oLibrary.tt_hint_props.TT_CONFIG_OPTION_SUBPIXEL_HINTING = false;
this.LOAD_MODE = 40970;
}
}
}
\ No newline at end of file
This diff is collapsed.
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