summaryrefslogtreecommitdiff
path: root/psprint
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-29 10:22:03 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-29 10:22:03 +0000
commit0e0ec2ab7cada0eb358d14a1f5c184cc2ac202d3 (patch)
treec3cac875db7647133123188562526f56a63f27cb /psprint
parentd3ad75339e8f1e691ecfcba95e84ca757cd07c04 (diff)
INTEGRATION: CWS vcl54 (1.64.6); FILE MERGED
2006/02/16 13:23:33 pl 1.64.6.1: #61841# add fontconfig support for embedded bitmaps and antialias
Diffstat (limited to 'psprint')
-rw-r--r--psprint/source/fontmanager/fontmanager.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/psprint/source/fontmanager/fontmanager.cxx b/psprint/source/fontmanager/fontmanager.cxx
index 5768205fa887..93eb7088ba33 100644
--- a/psprint/source/fontmanager/fontmanager.cxx
+++ b/psprint/source/fontmanager/fontmanager.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fontmanager.cxx,v $
*
- * $Revision: 1.65 $
+ * $Revision: 1.66 $
*
- * last change: $Author: kz $ $Date: 2006-02-27 16:33:57 $
+ * last change: $Author: obo $ $Date: 2006-03-29 11:22:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -379,7 +379,9 @@ PrintFontManager::PrintFont::PrintFont( fonttype::type eType ) :
m_nXMax( 0 ),
m_nYMax( 0 ),
m_bHaveVerticalSubstitutedGlyphs( false ),
- m_bUserOverride( false )
+ m_bUserOverride( false ),
+ m_eEmbeddedbitmap( fcstatus::isunset ),
+ m_eAntialias( fcstatus::isunset )
{
}
@@ -2591,6 +2593,8 @@ void PrintFontManager::fillPrintFontInfo( PrintFont* pFont, FastPrintFontInfo& r
rInfo.m_eWeight = pFont->m_eWeight;
rInfo.m_ePitch = pFont->m_ePitch;
rInfo.m_aEncoding = pFont->m_aEncoding;
+ rInfo.m_eEmbeddedbitmap = pFont->m_eEmbeddedbitmap;
+ rInfo.m_eAntialias = pFont->m_eAntialias;
rInfo.m_aAliases.clear();
for( ::std::list< int >::iterator it = pFont->m_aAliases.begin(); it != pFont->m_aAliases.end(); ++it )
rInfo.m_aAliases.push_back( m_pAtoms->getString( ATOM_FAMILYNAME, *it ) );