summaryrefslogtreecommitdiff
path: root/vcl/generic/print/glyphset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/generic/print/glyphset.cxx')
-rw-r--r--vcl/generic/print/glyphset.cxx25
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,