diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-09-04 17:24:03 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-09-04 19:20:53 +0200 |
commit | 7e7a1ff3926e86705199aa9814089e90f01c02ed (patch) | |
tree | 815837e8490b6f9fe23f2fe7b691cbfe144455d0 /external | |
parent | 6db1448eaa30ac7e2ebc64ad561b1d4a2c6e4ff2 (diff) |
tdf#119340 WIN don't always re-init the HFONT
After all the LogicalFontInstance refactoring, its FontSelectData
is now immutable, so the HFONT will never need to be changed.
Therefore we can skip the HFONT lookup in WinSalGraphics::SetFont,
if the WinFontInstance already has it set.
All the HFONT handling (basically WinSalGraphics::ImplDoSetFont)
should be moved to the WinFontInstance to further clean this up.
Change-Id: I1c9a9e3414677d77f0f007d7ace653bb53b8474d
Reviewed-on: https://gerrit.libreoffice.org/59988
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions