Revert "Add: [Win32] Uniscribe configure options for MinGW targets."
Revert "Change: [Win32] Use Uniscribe instead of ICU for text caret handling." Revert "Change: [Win32/MSVC] Make the Uniscribe text layouter the windows default and remove usage of the deprecated ICU layout libs." Revert "Add: [Win32] Text layout using the native Windows Uniscribe library." Revert "Codechange: Move ParagraphLayouter-specific functions into factory classes instead of relying on overloads." Revert "Add: [Win32] Native natural sort implementation." This reverts commitcd966f3810
. This reverts commiteec3f40931
. This reverts commit33829dc6ab
. This reverts commit768a31bfe3
. This reverts commita4278c302b
. This reverts commitf4394debdc
. This is to fix various problems and crashes with text rendering and font handling on Windows. See #58.
This commit is contained in:
@@ -2048,11 +2048,6 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
|
||||
strecpy(_config_language_file, c_file, lastof(_config_language_file));
|
||||
SetCurrentGrfLangID(_current_language->newgrflangid);
|
||||
|
||||
#ifdef WIN32
|
||||
extern void Win32SetCurrentLocaleName(const char *iso_code);
|
||||
Win32SetCurrentLocaleName(_current_language->isocode);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_ICU_SORT
|
||||
/* Delete previous collator. */
|
||||
if (_current_collator != NULL) {
|
||||
@@ -2395,7 +2390,7 @@ void CheckForMissingGlyphs(bool base_font, MissingGlyphSearcher *searcher)
|
||||
/* Update the font with cache */
|
||||
LoadStringWidthTable(searcher->Monospace());
|
||||
|
||||
#if !defined(WITH_ICU_LAYOUT) && !defined(WITH_UNISCRIBE)
|
||||
#if !defined(WITH_ICU_LAYOUT)
|
||||
/*
|
||||
* For right-to-left languages we need the ICU library. If
|
||||
* we do not have support for that library we warn the user
|
||||
|
Reference in New Issue
Block a user