diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/glyphs/gcach_ftyp.cxx | 5 | ||||
-rw-r--r-- | vcl/source/glyphs/gcach_ftyp.hxx | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/glyphs/gcach_ftyp.cxx b/vcl/source/glyphs/gcach_ftyp.cxx index 4d6014882000..3a285e1338bc 100644 --- a/vcl/source/glyphs/gcach_ftyp.cxx +++ b/vcl/source/glyphs/gcach_ftyp.cxx @@ -967,6 +967,11 @@ void FreetypeServerFont::SetFontOptions( const ImplFontOptions* pFontOptions) mnLoadFlags |= FT_LOAD_NO_BITMAP; } +const ImplFontOptions* FreetypeServerFont::GetFontOptions() const +{ + return mpFontOptions; +} + // ----------------------------------------------------------------------- bool FreetypeServerFont::TestFont() const diff --git a/vcl/source/glyphs/gcach_ftyp.hxx b/vcl/source/glyphs/gcach_ftyp.hxx index 964db8352129..0313406d30ea 100644 --- a/vcl/source/glyphs/gcach_ftyp.hxx +++ b/vcl/source/glyphs/gcach_ftyp.hxx @@ -187,6 +187,7 @@ public: virtual bool TestFont() const; virtual void* GetFtFace() const; virtual void SetFontOptions( const ImplFontOptions*); + virtual const ImplFontOptions* GetFontOptions() const; virtual int GetLoadFlags() const { return (mnLoadFlags & ~FT_LOAD_IGNORE_TRANSFORM); } virtual bool NeedsArtificialBold() const { return mbArtBold; } virtual bool NeedsArtificialItalic() const { return mbArtItalic; } |