diff options
author | Adam Moss <moss@lindenlab.com> | 2009-02-06 17:16:06 +0000 |
---|---|---|
committer | Adam Moss <moss@lindenlab.com> | 2009-02-06 17:16:06 +0000 |
commit | 6861459c48f72bb714f307d44e59317a466887bc (patch) | |
tree | 90eeef1342c2f8acb087fb3e790ed1cfbf317c07 /indra/newview/llappviewer.cpp | |
parent | d1f4f89c64280d96ebc3cf1a113fd7b4787c1437 (diff) |
QAR-1202 Mergeme for Viewer font in Russian, Ukrainian (for business
reasons):
svn merge -r109512:109516
svn+ssh://svn.lindenlab.com/svn/linden/branches/maint-l10n/maint-l10n-3
DEV-22792 Russian and Ukrainian Viewer strings submission
DEV-24945 Chat console with scaled UI shows vertically misaligned
characters
DEV-25459 Viewer text-snapping is broken in a few ways
DEV-23475 Change the win32 viewer's font prioritization order to be more
Cyrillic-friendly
QAR-1042 Viewer in Russian, Ukrainian: need to verify that
French/German/Japanese/Korean were not effected by import of Russ and
Ukr.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r-- | indra/newview/llappviewer.cpp | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 359e5df4f8..fd473b66d5 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -165,13 +165,6 @@ #include "llcommandlineparser.h" -// annoying detail to determine whether font prefs are over-ridden -#if LL_LINUX -# define LL_DYNAMIC_FONT_DISCOVERY 1 -#else -# define LL_DYNAMIC_FONT_DISCOVERY 0 -#endif - // *FIX: These extern globals should be cleaned up. // The globals either represent state/config/resource-storage of either // this app, or another 'component' of the viewer. App globals should be @@ -1656,12 +1649,6 @@ bool LLAppViewer::initConfiguration() gSavedSettings.setBOOL("AllowMultipleViewers", TRUE); #endif -#if !LL_DYNAMIC_FONT_DISCOVERY - // static font discovery - user settings can override. - gSavedSettings.setString("FontSansSerifFallback", - LLWindow::getFontListSans()); -#endif - //*FIX:Mani - Set default to disabling watchdog mainloop // timeout for mac and linux. There is no call stack info // on these platform to help debug. @@ -1744,20 +1731,14 @@ bool LLAppViewer::initConfiguration() // - load overrides from user_settings loadSettingsFromDirectory("User"); -#if LL_DYNAMIC_FONT_DISCOVERY - // Linux does *dynamic* font discovery which is preferable to - // whatever got written-out into the config file last time. This - // does remove the ability of the user to hand-define the fallbacks - // though, so from a config-management point of view this is hacky. gSavedSettings.setString("FontSansSerifFallback", - LLWindow::getFontListSans()); -#endif + gSavedSettings.getString("FontSansSerifBundledFallback") + ";" + LLWindow::getFontListSans() ); // - apply command line settings clp.notify(); // Handle initialization from settings. - // Start up the debugging console before handling other options. + // Start up the debugging console before handling other options. if (gSavedSettings.getBOOL("ShowConsoleWindow")) { initConsole(); |