diff options
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 6 | ||||
-rw-r--r-- | vcl/unx/generic/print/genpspgraphics.cxx | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx index 4320892aa32a..d9fa789cd865 100644 --- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx +++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx @@ -365,8 +365,6 @@ FreetypeFontFace::FreetypeFontFace( FreetypeFontInfo* pFI, const FontAttributes& : PhysicalFontFace( rDFA ), mpFreetypeFontInfo( pFI ) { - SetBuiltInFontFlag( false ); - SetOrientationFlag( true ); } LogicalFontInstance* FreetypeFontFace::CreateFontInstance( FontSelectPattern& rFSD ) const @@ -573,10 +571,6 @@ void FreetypeFont::GetFontMetric(ImplFontMetricDataRef& rxTo) const { rxTo->FontAttributes::operator =(mpFontInfo->GetFontAttributes()); - rxTo->SetScalableFlag( true ); // FIXME: Shouldn't this check FT_IS_SCALABLE( maFaceFT )? - rxTo->SetTrueTypeFlag( FT_IS_SFNT( maFaceFT ) != 0 ); - rxTo->SetBuiltInFontFlag( true ); - rxTo->SetKernableFlag( FT_HAS_KERNING( maFaceFT ) != 0 ); rxTo->SetOrientation( GetFontSelData().mnOrientation ); //Always consider [star]symbol as symbol fonts diff --git a/vcl/unx/generic/print/genpspgraphics.cxx b/vcl/unx/generic/print/genpspgraphics.cxx index a3db6111bf84..c1f1425fafcc 100644 --- a/vcl/unx/generic/print/genpspgraphics.cxx +++ b/vcl/unx/generic/print/genpspgraphics.cxx @@ -892,12 +892,7 @@ FontAttributes GenPspGraphics::Info2FontAttributes( const psp::FastPrintFontInfo aDFA.SetWidthType( rInfo.m_eWidth ); aDFA.SetPitch( rInfo.m_ePitch ); aDFA.SetSymbolFlag( (rInfo.m_aEncoding == RTL_TEXTENCODING_SYMBOL) ); - aDFA.SetSubsettableFlag( rInfo.m_bSubsettable ); - aDFA.SetEmbeddableFlag(false); aDFA.SetQuality(512); - aDFA.SetBuiltInFontFlag(false); - - aDFA.SetOrientationFlag( true ); // add font family name aliases ::std::list< OUString >::const_iterator it = rInfo.m_aAliases.begin(); |