diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-07 10:39:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-07 10:42:47 +0100 |
commit | 2e5800269d88b00f311746e8173c90779f5b888d (patch) | |
tree | d0ab246392d5a4897cc2169e48cbf447b2d3e52a /vcl | |
parent | 1f49550a98823daa9ebf0d8471824fd84a9b4e65 (diff) |
dump more info when encountering an odd language for a script
Change-Id: Icd8eaae44f81c7c6eb8a73a4e567a24b46f97870
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/fontmanager/fontconfig.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/generic/fontmanager/fontconfig.cxx b/vcl/generic/fontmanager/fontconfig.cxx index a305095240e7..4768572834ac 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; } |