diff options
Diffstat (limited to 'vcl/unx/gtk/gdi')
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index c1bdf3c2b779..d8c1f69b41af 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -4028,9 +4028,14 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings ) static cairo_font_options_t* (*gdk_screen_get_font_options)(GdkScreen*) = (cairo_font_options_t*(*)(GdkScreen*))osl_getAsciiFunctionSymbol( GetSalData()->m_pPlugin, "gdk_screen_get_font_options" ); if( gdk_screen_get_font_options != NULL ) -#endif + { const cairo_font_options_t* pNewOptions = gdk_screen_get_font_options( pScreen ); + aStyleSet.SetCairoFontOptions( pNewOptions ); + } +#else + const cairo_font_options_t* pNewOptions = gdk_screen_get_font_options( pScreen ); aStyleSet.SetCairoFontOptions( pNewOptions ); +#endif // finally update the collected settings rSettings.SetStyleSettings( aStyleSet ); |