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

локализация и шрифты под мак

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@67009 954022d7-b5bf-4e40-9824-e11837661b57
parent f20a91ec
......@@ -1510,8 +1510,16 @@ void CFontList::LoadFromArrayFiles(CArray<std::wstring>& oArray)
std::wstring wsFamilyName = NSFile::CUtf8Converter::GetUnicodeFromCharPtr(sFamilyName);
std::wstring wsStyleName = NSFile::CUtf8Converter::GetUnicodeFromCharPtr(sStyleName);
#ifdef _MAC
if (wsFamilyName.find(L".") == 0)
{
FT_Done_Face( pFace );
continue;
}
#endif
CFontInfo* pFontInfo = new CFontInfo( wsFamilyName,
CFontInfo* pFontInfo = new CFontInfo( wsFamilyName,
wsStyleName,
oArray[nIndex],
nIndexFace,
......
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