diff options
author | Kurt Zenker <kz@openoffice.org> | 2003-08-25 12:58:44 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2003-08-25 12:58:44 +0000 |
commit | c57eec702b9775d032ffd7322b400123da26aed5 (patch) | |
tree | 5578e7f21ba03023937ada7017960ad61f2b3591 /psprint | |
parent | a4ff33e80087dbcb3b00b5296ee1ca373b8f2784 (diff) |
INTEGRATION: CWS vcl15 (1.39.2); FILE MERGED
2003/07/03 17:56:29 pl 1.39.2.1: #110485# workaround fonts with broken name records
Diffstat (limited to 'psprint')
-rw-r--r-- | psprint/source/fontmanager/fontmanager.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/psprint/source/fontmanager/fontmanager.cxx b/psprint/source/fontmanager/fontmanager.cxx index b5026ae1270e..1523be2cba35 100644 --- a/psprint/source/fontmanager/fontmanager.cxx +++ b/psprint/source/fontmanager/fontmanager.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fontmanager.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: vg $ $Date: 2003-07-01 14:52:08 $ + * last change: $Author: kz $ $Date: 2003-08-25 13:58:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1373,7 +1373,7 @@ void PrintFontManager::analyzeTrueTypeFamilyName( void* pTTFont, ::std::list< OU int nLastMatch = -1; for( int i = 0; i < nNameRecords; i++ ) { - if( pNameRecords[i].nameID != 1 ) + if( pNameRecords[i].nameID != 1 || pNameRecords[i].sptr == NULL ) continue; int nMatch = -1; if( pNameRecords[i].platformID == 0 ) // Unicode |