diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-12 09:20:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-12 10:47:10 +0000 |
commit | df6d0dc8f010365a8f6948e2394b2c7acfc2ecda (patch) | |
tree | 73c3c2586f9e087980a07276173140fcb57c7b52 /vcl/generic/print/glyphset.cxx | |
parent | 5d53969bbbe74e15fc991f63e0795938ff219815 (diff) |
post padmin shrinkage a lot of FontManager can go now
Diffstat (limited to 'vcl/generic/print/glyphset.cxx')
-rw-r--r-- | vcl/generic/print/glyphset.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx index 3255e81ee621..6287eda82a27 100644 --- a/vcl/generic/print/glyphset.cxx +++ b/vcl/generic/print/glyphset.cxx @@ -55,12 +55,6 @@ using ::rtl::OString; using ::rtl::OStringBuffer; using ::rtl::OUStringToOString; -GlyphSet::GlyphSet () - : mnFontID (-1), - mbVertical (0), - mbUseFontEncoding (false) -{} - GlyphSet::GlyphSet (sal_Int32 nFontID, sal_Bool bVertical) : mnFontID (nFontID), mbVertical (bVertical) @@ -97,25 +91,6 @@ GlyphSet::IsVertical () } sal_Bool -GlyphSet::SetFont (sal_Int32 nFontID, sal_Bool bVertical) -{ - if (mnFontID != -1) - return sal_False; - - mnFontID = nFontID; - mbVertical = bVertical; - - PrintFontManager &rMgr = PrintFontManager::get(); - meBaseType = rMgr.getFontType (mnFontID); - maBaseName = OUStringToOString (rMgr.getPSName(mnFontID), - RTL_TEXTENCODING_ASCII_US); - mnBaseEncoding = rMgr.getFontEncoding(mnFontID); - mbUseFontEncoding = rMgr.getUseOnlyFontEncoding(mnFontID); - - return sal_True; -} - -sal_Bool GlyphSet::GetCharID ( sal_Unicode nChar, sal_uChar* nOutGlyphID, |