diff options
author | hdu <duerr@sun.com> | 2010-01-05 17:21:05 +0100 |
---|---|---|
committer | hdu <duerr@sun.com> | 2010-01-05 17:21:05 +0100 |
commit | a1eb9ea9ea770ef1634d4373351ed7bf4617f66d (patch) | |
tree | 078ce82ec677d047bda274dd9146bb650b4c502e /vcl/unx/source/gdi | |
parent | 196a6282b4b387cf0bd6d03eae50851cbf8a3f6d (diff) |
#i88303# dynamically match the system's font options (thanks cmc!)
Diffstat (limited to 'vcl/unx/source/gdi')
-rw-r--r-- | vcl/unx/source/gdi/salgdi3.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/source/gdi/salgdi3.cxx b/vcl/unx/source/gdi/salgdi3.cxx index 50913fd99f71..c161927a478d 100644 --- a/vcl/unx/source/gdi/salgdi3.cxx +++ b/vcl/unx/source/gdi/salgdi3.cxx @@ -983,6 +983,9 @@ void X11SalGraphics::DrawCairoAAFontString( const ServerFontLayout& rLayout ) cairo_t *cr = rCairo.create(surface); rCairo.surface_destroy(surface); + if (const void *pOptions = Application::GetSettings().GetStyleSettings().GetCairoFontOptions()) + rCairo.set_font_options( cr, pOptions); + if( pClipRegion_ && !XEmptyRegion( pClipRegion_ ) ) { for (long i = 0; i < pClipRegion_->numRects; ++i) |