From 6861459c48f72bb714f307d44e59317a466887bc Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Fri, 6 Feb 2009 17:16:06 +0000 Subject: 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. --- indra/newview/llappviewer.cpp | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'indra/newview/llappviewer.cpp') 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(); -- cgit v1.3