summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorTim Eves <tim_eves@sil.org>2016-03-08 14:46:49 +0700
committerMartin Hosken <martin_hosken@sil.org>2016-03-09 03:02:12 +0000
commit64172644c898d4f5f29494b2f8b5fbcdc2cd9824 (patch)
treed8a392cde559ebad8cc6a29b626b177b88764077 /config_host
parent45701913f642b17aabd67b52de9002cc79cf07ae (diff)
DirectWrite rendering for Graphite to work around ExTextOut bug
ExTextOut has a bug on Windows 7 and above where it incorrectly positions certain diacritics, using DirectWrite and Direct2D fixes this. Implemented on-demand loading of the DLL so the old ExTextOut based renderer will be used when drwite and d2d1 cannot be found allowing this work on Windows XP (where this bug doesn't seem to occur) Change-Id: I767d62c8188511e745373b61ba51e7e2745f7b8b Reviewed-on: https://gerrit.libreoffice.org/23020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_graphite.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config_host/config_graphite.h.in b/config_host/config_graphite.h.in
index 46e624dc01a1..953c0066b325 100644
--- a/config_host/config_graphite.h.in
+++ b/config_host/config_graphite.h.in
@@ -3,4 +3,6 @@
#define ENABLE_GRAPHITE 0
+#define ENABLE_GRAPHITE_DWRITE 1
+
#endif