summaryrefslogtreecommitdiff
path: root/svtools/source/misc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-13 10:18:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-13 10:19:05 +0100
commit6ceff3f7deb1a6b66c0119c73b797a925f8fbee7 (patch)
tree0c2617a95c0b1794074957745c025e49232ef3fd /svtools/source/misc
parentaa9abb373eafb92bb2558ff49748766a8bb8cef0 (diff)
Related: fdo#82259 GungSeo has no OS/2 table
Change-Id: Idf2431927d8f501f87301d01a7bb884f1445125f
Diffstat (limited to 'svtools/source/misc')
-rw-r--r--svtools/source/misc/sampletext.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx
index c4a75988c289..2749f6f8a3f1 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -32,6 +32,11 @@ static UScriptCode lcl_getHardCodedScriptNameForFont (const OutputDevice &rDevic
// but in fact it's a Traditional Chinese font.
return USCRIPT_TRADITIONAL_HAN;
}
+ else if (rName == "GungSeo")
+ {
+ // "GungSeo" has no OS/2 table, but we know it's a Korean font.
+ return USCRIPT_KOREAN;
+ }
else if (rName.startsWith("Bangla "))
{
// "Bangla Sangam MN" claims it supports MALAYALAM, but it doesn't