diff options
author | Michael Lutz <michi@icosahedron.de> | 2018-05-26 16:13:12 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2018-06-06 21:37:09 +0200 |
commit | 768a31bfe3bc8da1482e0c7115bc46bf90b1e7ec (patch) | |
tree | bf5534df4faf1a9d48edbf355b8e7c1fa2ef2cb9 /src/strings.cpp | |
parent | a4278c302b7721d22e4501315b5a1713f5471163 (diff) | |
download | openttd-768a31bfe3bc8da1482e0c7115bc46bf90b1e7ec.tar.xz |
Add: [Win32] Text layout using the native Windows Uniscribe library.
Uniscribe is sometimes producing different results compared to ICU, especially
when RTL and LTR content is mixed. Comparing the results to other programs
(like editors or web browsers) leads me to believe that the result are at least
not worse than ICU and possibly better.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 4ababcc5a..3bfd88662 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -2135,7 +2135,7 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher) /* Update the font with cache */ LoadStringWidthTable(searcher->Monospace()); -#if !defined(WITH_ICU_LAYOUT) +#if !defined(WITH_ICU_LAYOUT) && !defined(WITH_UNISCRIBE) /* * For right-to-left languages we need the ICU library. If * we do not have support for that library we warn the user |