summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-11-22 06:32:55 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2021-11-23 19:29:38 +0100
commitc2a581ffc1f4e3888c5c243932b71c3d96e8ba8f (patch)
treea17b611d6702aac833763c051817ac7829ce1881 /svtools
parent90db4351138dec97f8dd2ebc350e8aef18a5358f (diff)
tdf#62812 WIN use a compatible DC for font funcs
All these function work on a temporary font. It's not clear, if the CreateCompatibleDC is actually needed and if the ScopedFontDC could actually just use the SalGraphics DC and restore its HFONT, but this at least now works as expected. A later patch can just drop the CreateCompatibleDC and DeleteDC calls. Change-Id: I6e86d660e69a58fa2eab89ece80c61e2635fc792 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125652 Tested-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'svtools')
0 files changed, 0 insertions, 0 deletions