[Libreoffice-commits] core.git: vcl/generic

Caolán McNamara caolanm at redhat.com
Fri Jun 7 02:43:08 PDT 2013


 vcl/generic/fontmanager/fontconfig.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 2e5800269d88b00f311746e8173c90779f5b888d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jun 7 10:39:51 2013 +0100

    dump more info when encountering an odd language for a script
    
    Change-Id: Icd8eaae44f81c7c6eb8a73a4e567a24b46f97870

diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx
index a305095..4768572 100644
--- a/vcl/generic/fontmanager/fontconfig.cxx
+++ b/vcl/generic/fontmanager/fontconfig.cxx
@@ -885,8 +885,11 @@ namespace
             default:
                 break;
         }
-        SAL_WARN_IF(bIsImpossible, "vcl", "Throwing away user set language of "
-            << sLang << " for finding a font for glyph fallback and autodetecting instead");
+        SAL_WARN_IF(bIsImpossible, "vcl", "In glyph fallback throwing away the language property of "
+            << sLang << " because the detected script for '0x"
+            << OUString::number(currentChar, 16)
+            << "' is " << uscript_getName(eScript)
+            << " and that language doesn't make sense. Autodetecting instead.");
         return bIsImpossible;
     }
 


More information about the Libreoffice-commits mailing list