summaryrefslogtreecommitdiff
path: root/vcl/unx/source/gdi
diff options
context:
space:
mode:
authorhdu <duerr@sun.com>2010-01-05 17:21:05 +0100
committerhdu <duerr@sun.com>2010-01-05 17:21:05 +0100
commita1eb9ea9ea770ef1634d4373351ed7bf4617f66d (patch)
tree078ce82ec677d047bda274dd9146bb650b4c502e /vcl/unx/source/gdi
parent196a6282b4b387cf0bd6d03eae50851cbf8a3f6d (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.cxx3
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)