diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-04-24 18:21:50 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-04-26 15:08:44 +0200 |
commit | 8f51b4272450b6220f563740538f143c0bc70175 (patch) | |
tree | 98b2db26b0b440634b36a9672ad52334dcc954f0 /vcl/inc | |
parent | 3b40661889be16f2034c02d17564f63bda4dabb6 (diff) |
tdf#107205 vcl: don't always use D2DWriteTextOutRenderer
... because it cannot rotate text.
(regression from commit df556aa47da22f96b3fcd356c12419d3035cba3c)
Change-Id: If9bc6e98b8979c5eb02f1a5cfc12b4d19bdc481b
(cherry picked from commit 2eb91035c2f60e9dc476336474d51b23b666bb04)
Reviewed-on: https://gerrit.libreoffice.org/36904
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/win/saldata.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index cf11a04ddace..61a5d91d9b88 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -121,7 +121,9 @@ public: std::map< UINT,sal_uInt16 > maVKMap; // map some dynamic VK_* entries // must be deleted before exit(), so delete it in DeInitSalData() - std::unique_ptr<TextOutRenderer> m_pTextOutRenderer; + std::unique_ptr<TextOutRenderer> m_pD2DWriteTextOutRenderer; + // tdf#107205 need 2 instances because D2DWrite can't rotate text + std::unique_ptr<TextOutRenderer> m_pExTextOutRenderer; }; inline void SetSalData( SalData* pData ) { ImplGetSVData()->mpSalData = pData; } |