diff options
Diffstat (limited to 'svx/source/tbxctrls/fontworkgallery.cxx')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index db81609fe450..01b34f923724 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -126,6 +126,10 @@ void FontWorkGalleryDialog::initFavorites(sal_uInt16 nThemeId) { VirtualDevice aVDev; const Point aNull(0, 0); + + if (GetDPIScaleFactor() > 1) + aThumb.Scale(GetDPIScaleFactor(), GetDPIScaleFactor()); + const Size aSize(aThumb.GetSizePixel()); aVDev.SetOutputSizePixel(aSize); |