summaryrefslogtreecommitdiff
path: root/vcl/inc/win/salgdi.h
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2018-04-24 08:36:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-26 08:48:06 +0200
commit13a1bc409d9b2f0d14f4d316b7977b1fc2eb3c8a (patch)
tree97c8f08726749007311263dad8280480bde449b9 /vcl/inc/win/salgdi.h
parent96c1aad92b40a14d0d4af662e276b6967560ec20 (diff)
tdf#113643 Editing tables in Impress lags terribly
Despite my previous commit here, the time was still being spent building bound rect's for font glyphs, so improve the caching so we don't need to clear it when we change the font selected into the DC. Change-Id: Iee8230fc76d9d809f3521d016e4ce9a6555e6f65 Reviewed-on: https://gerrit.libreoffice.org/53371 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/win/salgdi.h')
-rw-r--r--vcl/inc/win/salgdi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 23531842dde3..f45d85c4c89c 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -177,6 +177,7 @@ private:
RGNDATA* mpClipRgnData; // ClipRegion-Data
RGNDATA* mpStdClipRgnData; // Cache Standard-ClipRegion-Data
int mnPenWidth; // line width
+ const PhysicalFontFace* mpCurrentPhysicalFontFace; // the font face currently selected into the DC
LogicalFontInstance* GetWinFontEntry(int nFallbackLevel);