summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-01-29 15:08:17 +0000
committerRüdiger Timm <rt@openoffice.org>2008-01-29 15:08:17 +0000
commiteed9ff83d140cef2bc7faeaf1e8cd733eb68d508 (patch)
tree835cd2b26bf5d031a891cb803d39600ddb278c85 /psprint
parent15758e985a08388c87ff2ceeea6046154a3c24cf (diff)
INTEGRATION: CWS vcl85_SRC680 (1.78.28); FILE MERGED
2007/12/21 14:35:42 pl 1.78.28.3: #i84679# fix ! ENABLE_FONTCOFIG case 2007/12/21 13:03:25 pl 1.78.28.2: RESYNC: (1.78-1.79); FILE MERGED 2007/12/05 17:22:29 pl 1.78.28.1: #i64879# add weight heavy to parseWeight
Diffstat (limited to 'psprint')
-rw-r--r--psprint/source/fontmanager/fontmanager.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/psprint/source/fontmanager/fontmanager.cxx b/psprint/source/fontmanager/fontmanager.cxx
index 661660b55b27..29b954a4f564 100644
--- a/psprint/source/fontmanager/fontmanager.cxx
+++ b/psprint/source/fontmanager/fontmanager.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fontmanager.cxx,v $
*
- * $Revision: 1.79 $
+ * $Revision: 1.80 $
*
- * last change: $Author: kz $ $Date: 2007-12-12 13:17:02 $
+ * last change: $Author: rt $ $Date: 2008-01-29 16:08:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -183,6 +183,8 @@ static weight::type parseWeight( const ByteString& rWeight )
else
eWeight = weight::Bold;
}
+ else if( rWeight.Search( "heavy" ) != STRING_NOTFOUND )
+ eWeight = weight::Bold;
else if( rWeight.Search( "light" ) != STRING_NOTFOUND )
{
if( rWeight.Search( "emi" ) != STRING_NOTFOUND ) // semi, demi
@@ -1214,7 +1216,7 @@ PrintFontManager::PrintFontManager() :
m_pAtoms( new MultiAtomProvider() ),
m_nNextDirAtom( 1 ),
m_pFontCache( NULL ),
- m_bFontconfigSuccess(false)
+ m_bFontconfigSuccess( false )
{
for( unsigned int i = 0; i < sizeof( aAdobeCodes )/sizeof( aAdobeCodes[0] ); i++ )
{