mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
(1.0.1.175) unhandle uncorrect font
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53940 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
7b56752a90
commit
c3cb7fd17d
@ -44,6 +44,10 @@ CFontFile *CFreeTypeFontFile::LoadFont(CFreeTypeFontEngine *pEngine, wchar_t *ws
|
||||
if ( FT_Open_Face( pEngine->m_pLibrary, &oOpenArgs, lIndex, &pFace ) )
|
||||
//if ( FT_New_Face( pEngine->m_pLibrary, W2A( wsFileName ), lIndex, &pFace ) )
|
||||
{
|
||||
if ( pBaseAddress )
|
||||
UnmapViewOfFile( pBaseAddress );
|
||||
CloseHandle( hMapFile );
|
||||
CloseHandle( hFile );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -2,6 +2,6 @@
|
||||
//1
|
||||
//0
|
||||
//1
|
||||
//174
|
||||
#define INTVER 1,0,1,174
|
||||
#define STRVER "1,0,1,174\0"
|
||||
//175
|
||||
#define INTVER 1,0,1,175
|
||||
#define STRVER "1,0,1,175\0"
|
||||
|
||||
Reference in New Issue
Block a user