summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-10 13:41:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-11 09:19:35 +0200
commitf99bee8103ad82dac2e53e114527399c4af5485c (patch)
tree0708413c61a0a2b7ee8a7e5a7ee633c410d972b6 /unotools
parenta822df6379606ab9f62d6ebb2318d0294d9c959c (diff)
Delete OUString UTF-16 string literal ctor/assignment op
...that have been made unused by 7ef3d937415185ef66e32dd3043783eddcd03db5 "loplugin:ostr: Rewrite some uses of O[U]String to use ""_ostr/u""_ustr literals". (And which means we can remove the relevant code from that plugin again.) (This also found a handful of remaining uses that had been hard for the plugin to discover, along the lines of > std::map<OUString, int> m = {{u"foo", 0}}; being represented by a > DeclStmt 0xdaca578 <line:103:5, col:50> > `-VarDecl 0xdac9150 <col:5, col:49> col:29 s11 'std::map<OUString, int>':'std::map<rtl::OUString, int>' cinit destroyed > `-ExprWithCleanups 0xdaca548 <col:35, col:49> 'std::map<OUString, int>':'std::map<rtl::OUString, int>' > `-CXXConstructExpr 0xdaca508 <col:35, col:49> 'std::map<OUString, int>':'std::map<rtl::OUString, int>' 'void (initializer_list<value_type>, const std::less<rtl::OUString> &, const allocator_type &)' list std::initializer_list > |-CXXStdInitializerListExpr 0xdaca480 <col:35, col:49> 'initializer_list<value_type>':'std::initializer_list<std::pair<const rtl::OUString, int>>' > | `-MaterializeTemporaryExpr 0xdaca468 <col:35, col:49> 'const std::pair<const rtl::OUString, int>[1]' xvalue > | `-CXXBindTemporaryExpr 0xdaca448 <col:35, col:49> 'const std::pair<const rtl::OUString, int>[1]' (CXXTemporary 0xdaca448) > | `-InitListExpr 0xdac9df0 <col:35, col:49> 'const std::pair<const rtl::OUString, int>[1]' > | `-CXXConstructExpr 0xdaca408 <col:36, col:48> 'const std::pair<const rtl::OUString, int>' 'void (const char16_t (&)[4], int &&) noexcept(_S_nothrow_constructible<const char16_t (&)[4], int>())' list > | |-StringLiteral 0xdac91b8 <col:38> 'const char16_t[4]' lvalue u"foo" > | `-MaterializeTemporaryExpr 0xdaca3f0 <col:46> 'int' xvalue > | `-IntegerLiteral 0xdac91d8 <col:46> 'int' 0 > |-CXXDefaultArgExpr 0xdaca498 <<invalid sloc>> 'const std::less<rtl::OUString>':'const std::less<rtl::OUString>' lvalue > `-CXXDefaultArgExpr 0xdaca4b8 <<invalid sloc>> 'const allocator_type':'const std::allocator<std::pair<const rtl::OUString, int>>' lvalue Clang AST.) Change-Id: I496fe9d4d5e1a033cb7b27b4e04b303f8ddbed4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157756 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/fontdefs.cxx313
1 files changed, 158 insertions, 155 deletions
diff --git a/unotools/source/misc/fontdefs.cxx b/unotools/source/misc/fontdefs.cxx
index 1b14ae3f728e..43b9e0554377 100644
--- a/unotools/source/misc/fontdefs.cxx
+++ b/unotools/source/misc/fontdefs.cxx
@@ -132,163 +132,166 @@ OUString GetEnglishSearchFontName(std::u16string_view rInName)
{
typedef std::unordered_map<OUString, OUString> FontNameDictionary;
static FontNameDictionary const aDictionary = {
- {u"\uBC14\uD0D5", "batang"},
- {u"\uBC14\uD0D5\uCCB4", "batangche"},
- {u"\uAD81\uC11C", "gungshu"},
- {u"\uAD81\uC11C\uCCB4", "gungshuche"},
- {u"\uAD74\uB9BC", "gulim"},
- {u"\uAD74\uB9BC\uCCB4", "gulimche"},
- {u"\uB3CB\uC6C0", "dotum"},
- {u"\uB3CB\uC6C0\uCCB4", "dotumche"},
- {u"\u5B8B\u4F53", "simsun"},
- {u"\u65B0\u5B8B\u4F53", "nsimsun"},
- {u"\u9ED1\u4F53", "simhei"},
- {u"\u6977\u4F53", "simkai"},
- {u"\u4E2D\u6613\u5B8B\u4F53", "zycjksun"},
- {u"\u4E2D\u6613\u9ED1\u4F53", "zycjkhei"},
- {u"\u4E2D\u6613\u6977\u4F53", "zycjkkai"},
- {u"\u65B9\u6B63\u9ED1\u4F53", "fzhei"},
- {u"\u65B9\u6B63\u6977\u4F53", "fzkai"},
- {u"\u65B9\u6B63\u5B8B\u4E00", "fzsong"},
- {u"\u65B9\u6B63\u4E66\u5B8B", "fzshusong"},
- {u"\u65B9\u6B63\u4EFF\u5B8B", "fzfangsong"},
+ {u"\uBC14\uD0D5"_ustr, "batang"},
+ {u"\uBC14\uD0D5\uCCB4"_ustr, "batangche"},
+ {u"\uAD81\uC11C"_ustr, "gungshu"},
+ {u"\uAD81\uC11C\uCCB4"_ustr, "gungshuche"},
+ {u"\uAD74\uB9BC"_ustr, "gulim"},
+ {u"\uAD74\uB9BC\uCCB4"_ustr, "gulimche"},
+ {u"\uB3CB\uC6C0"_ustr, "dotum"},
+ {u"\uB3CB\uC6C0\uCCB4"_ustr, "dotumche"},
+ {u"\u5B8B\u4F53"_ustr, "simsun"},
+ {u"\u65B0\u5B8B\u4F53"_ustr, "nsimsun"},
+ {u"\u9ED1\u4F53"_ustr, "simhei"},
+ {u"\u6977\u4F53"_ustr, "simkai"},
+ {u"\u4E2D\u6613\u5B8B\u4F53"_ustr, "zycjksun"},
+ {u"\u4E2D\u6613\u9ED1\u4F53"_ustr, "zycjkhei"},
+ {u"\u4E2D\u6613\u6977\u4F53"_ustr, "zycjkkai"},
+ {u"\u65B9\u6B63\u9ED1\u4F53"_ustr, "fzhei"},
+ {u"\u65B9\u6B63\u6977\u4F53"_ustr, "fzkai"},
+ {u"\u65B9\u6B63\u5B8B\u4E00"_ustr, "fzsong"},
+ {u"\u65B9\u6B63\u4E66\u5B8B"_ustr, "fzshusong"},
+ {u"\u65B9\u6B63\u4EFF\u5B8B"_ustr, "fzfangsong"},
// Attention: this fonts includes the wrong encoding vector - so we double the names with correct and wrong encoding
// First one is the GB-Encoding (we think the correct one), second is the big5 encoded name
- {u"m\u7B80\u9ED1", "mhei"},
- {u"m\u6F60\u7AAA", "mhei"},
- {u"m\u7B80\u6977\u566C", "mkai"},
- {u"m\u6F60\u7FF1\u628E", "mkai"},
- {u"m\u7B80\u5B8B", "msong"},
- {u"m\u6F60\u51BC", "msong"},
- {u"m\u7B80\u592B\u5B8B", "cfangsong"},
- {u"m\u6F60\u6E98\u51BC", "cfangsong"},
- {u"\u7D30\u660E\u9AD4", "mingliu"},
- {u"\u65B0\u7D30\u660E\u9AD4", "pmingliu"},
- {u"\u6865", "hei"},
- {u"\u6B61", "kai"},
- {u"\u6D69\u6E67", "ming"},
- {u"ms\u30B4\u30B7\u30C3\u30AF", "msgothic"},
- {u"msp\u30B4\u30B7\u30C3\u30AF", "mspgothic"},
- {u"ms\u660E\u671D", "msmincho"},
- {u"msp\u660E\u671D", "mspmincho"},
- {u"\u5FAE\u8EDF\u6B63\u9ED1\u9AD4", "microsoftjhenghei"},
- {u"\u5FAE\u8F6F\u96C5\u9ED1", "microsoftyahei"},
- {u"\u30e1\u30a4\u30ea\u30aa", "meiryo"},
- {u"hg\u660E\u671Dl", "hgminchol"},
- {u"hg\u30B4\u30B7\u30C3\u30AFb", "hggothicb"},
- {u"hgp\u660E\u671Dl", "hgpminchol"},
- {u"hgp\u30B4\u30B7\u30C3\u30AFb", "hgpgothicb"},
- {u"hg\u660E\u671Dlsun", "hgmincholsun"},
- {u"hg\u30B4\u30B7\u30C3\u30AFbsun", "hggothicbsun"},
- {u"hgp\u660E\u671Dlsun", "hgpmincholsun"},
- {u"hgp\u30B4\u30B7\u30C3\u30AFbsun", "hgpgothicbsun"},
- {u"hg\u5E73\u6210\u660E\u671D\u4F53", "hgheiseimin"},
- {u"hg\u5E73\u6210\u660E\u671D\u4F53w3x12", "hgheiseimin"},
- {u"ipa\u660E\u671D", "ipamincho"},
- {u"ipap\u660E\u671D", "ipapmincho"},
- {u"ipa\u30B4\u30B7\u30C3\u30AF", "ipagothic"},
- {u"ipap\u30B4\u30B7\u30C3\u30AF", "ipapgothic"},
- {u"ipaui\u30B4\u30B7\u30C3\u30AF", "ipauigothic"},
- {u"takao\u660E\u671D", "takaomincho"},
- {u"takaop\u660E\u671D", "takaopmincho"},
- {u"takao\u30B4\u30B7\u30C3\u30AF", "takaogothic"},
- {u"takaop\u30B4\u30B7\u30C3\u30AF", "takaopgothic"},
- {u"\u3055\u3056\u306A\u307F\u660E\u671D", "sazanamimincho"},
- {u"\u3055\u3056\u306A\u307F\u30B4\u30B7\u30C3\u30AF", "sazanamigothic"},
- {u"\u6771\u98A8\u660E\u671D", "kochimincho"},
- {u"\u6771\u98A8\u30B4\u30B7\u30C3\u30AF", "kochigothic"},
- {u"\uC36C\uB3CB\uC6C0", "sundotum"},
- {u"\uC36C\uAD74\uB9BC", "sungulim"},
- {u"\uC36C\uBC14\uD0D5", "sunbatang"},
- {u"\uBC31\uBB35\uB3CB\uC6C0", "baekmukdotum"},
- {u"\uBC31\uBB35\uAD74\uB9BC", "baekmukgulim"},
- {u"\uBC31\uBB35\uBC14\uD0D5", "baekmukbatang"},
- {u"\u65B9\u6B63\u9ED1\u4F53", "fzheiti"},
- {u"\u65B9\u6B63\u9ED1\u9AD4", "fzheiti"},
- {u"\u65B9\u6B63\u6977\u4F53", "fzkaiti"},
- {u"\u65B9\u6B63\u6977\u9AD4", "fzkaitib"},
- {u"\u65B9\u6B63\u660E\u9AD4", "fzmingtib"},
- {u"\u65B9\u6B63\u5B8B\u4F53", "fzsongti"},
- {u"hy\uACAC\uBA85\uC870", "hymyeongjoextra"},
- {u"hy\uC2E0\uBA85\uC870", "hysinmyeongjomedium"},
- {u"hy\uC911\uACE0\uB515", "hygothicmedium"},
- {u"hy\uADF8\uB798\uD53Dm", "hygraphicmedium"},
- {u"hy\uADF8\uB798\uD53D", "hygraphic"},
- {u"\uC0C8\uAD74\uB9BC", "newgulim"},
- {u"\uC36C\uAD81\uC11C", "sungungseo"},
- {u"hy\uAD81\uC11Cb", "hygungsobold"},
- {u"hy\uAD81\uC11C", "hygungso"},
- {u"\uC36C\uD5E4\uB4DC\uB77C\uC778", "sunheadline"},
- {u"hy\uD5E4\uB4DC\uB77C\uC778m", "hyheadlinemedium"},
- {u"hy\uD5E4\uB4DC\uB77C\uC778", "hyheadline"},
- {u"\uD734\uBA3C\uC61B\uCCB4", "yetr"},
- {u"hy\uACAC\uACE0\uB515", "hygothicextra"},
- {u"\uC36C\uBAA9\uD310", "sunmokpan"},
- {u"\uC36C\uC5FD\uC11C", "sunyeopseo"},
- {u"\uC36C\uBC31\uC1A1", "sunbaeksong"},
- {u"hy\uC5FD\uC11Cl", "hypostlight"},
- {u"hy\uC5FD\uC11C", "hypost"},
- {u"\uD734\uBA3C\uB9E4\uC9C1\uCCB4", "magicr"},
- {u"\uC36C\uD06C\uB9AC\uC2A4\uD0C8", "suncrystal"},
- {u"\uC36C\uC0D8\uBB3C", "sunsaemmul"},
- {u"hy\uC595\uC740\uC0D8\uBB3Cm", "hyshortsamulmedium"},
- {u"hy\uC595\uC740\uC0D8\uBB3C", "hyshortsamul"},
- {u"\uD55C\uCEF4\uBC14\uD0D5", "haansoftbatang"},
- {u"\uD55C\uCEF4\uB3CB\uC6C0", "haansoftdotum"},
- {u"\uD55C\uC591\uD574\uC11C", "hyhaeseo"},
- {u"md\uC194\uCCB4", "mdsol"},
- {u"md\uAC1C\uC131\uCCB4", "mdgaesung"},
- {u"md\uC544\uD2B8\uCCB4", "mdart"},
- {u"md\uC544\uB871\uCCB4", "mdalong"},
- {u"md\uC774\uC19D\uCCB4", "mdeasop"},
- {u"hg\uFF7A\uFF9E\uFF7C\uFF6F\uFF78e", "hggothice"},
- {u"hgp\uFF7A\uFF9E\uFF7C\uFF6F\uFF78e", "hgpgothice"},
- {u"hgs\uFF7A\uFF9E\uFF7C\uFF6F\uFF78e", "hgsgothice"},
- {u"hg\uFF7A\uFF9E\uFF7C\uFF6F\uFF78m", "hggothicm"},
- {u"hgp\uFF7A\uFF9E\uFF7C\uFF6F\uFF78m", "hgpgothicm"},
- {u"hgs\uFF7A\uFF9E\uFF7C\uFF6F\uFF78m", "hgsgothicm"},
- {u"hg\u884C\u66F8\u4F53", "hggyoshotai"},
- {u"hgp\u884C\u66F8\u4F53", "hgpgyoshotai"},
- {u"hgs\u884C\u66F8\u4F53", "hgsgyoshotai"},
- {u"hg\u6559\u79D1\u66F8\u4F53", "hgkyokashotai"},
- {u"hgp\u6559\u79D1\u66F8\u4F53", "hgpkyokashotai"},
- {u"hgs\u6559\u79D1\u66F8\u4F53", "hgskyokashotai"},
- {u"hg\u660E\u671Db", "hgminchob"},
- {u"hgp\u660E\u671Db", "hgpminchob"},
- {u"hgs\u660E\u671Db", "hgsminchob"},
- {u"hg\u660E\u671De", "hgminchoe"},
- {u"hgp\u660E\u671De", "hgpminchoe"},
- {u"hgs\u660E\u671De", "hgsminchoe"},
- {u"hg\u5275\u82F1\u89D2\uFF8E\uFF9F\uFF6F\uFF8C\uFF9F\u4F53", "hgsoeikakupoptai"},
- {u"hgp\u5275\u82F1\u89D2\uFF8E\uFF9F\uFF6F\uFF8C\uFF9F\u4F53", "hgpsoeikakupopta"},
- {u"hgs\u5275\u82F1\u89D2\uFF8E\uFF9F\uFF6F\uFF8C\uFF9F\u4F53", "hgssoeikakupopta"},
- {u"hg\u5275\u82F1\uFF8C\uFF9F\uFF9A\uFF7E\uFF9E\uFF9D\uFF7Deb", "hgsoeipresenceeb"},
- {u"hgp\u5275\u82F1\uFF8C\uFF9F\uFF9A\uFF7E\uFF9E\uFF9D\uFF7Deb", "hgpsoeipresenceeb"},
- {u"hgs\u5275\u82F1\uFF8C\uFF9F\uFF9A\uFF7E\uFF9E\uFF9D\uFF7Deb", "hgssoeipresenceeb"},
- {u"hg\u5275\u82F1\u89D2\uFF7A\uFF9E\uFF7C\uFF6F\uFF78ub", "hgsoeikakugothicub"},
- {u"hgp\u5275\u82F1\u89D2\uFF7A\uFF9E\uFF7C\uFF6F\uFF78ub", "hgpsoeikakugothicub"},
- {u"hgs\u5275\u82F1\u89D2\uFF7A\uFF9E\uFF7C\uFF6F\uFF78ub", "hgssoeikakugothicub"},
- {u"hg\u6B63\u6977\u66F8\u4F53-pro", "hgseikaishotaipro"},
- {u"hg\u4E38\uFF7A\uFF9E\uFF7C\uFF6F\uFF78-pro", "hgmarugothicmpro"},
- {u"\u30D2\u30E9\u30AE\u30CE\u660E\u671Dpro", "hiraginominchopro"},
- {u"\u30D2\u30E9\u30AE\u30CE\u660E\u671Dpron", "hiraginominchopron"},
- {u"\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4\u30B7\u30C3\u30AF", "hiraginosans"},
- {u"\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4pro", "hiraginokakugothicpro"},
- {u"\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4pron", "hiraginokakugothicpron"},
- {u"\u30D2\u30E9\u30AE\u30CE\u4E38\u30B4pro", "hiraginomarugothicpro"},
- {u"\u30D2\u30E9\u30AE\u30CE\u4E38\u30B4pron", "hiraginomarugothicpron"},
- {u"\u6E38\u30B4\u30B7\u30C3\u30AF", "yugothic"},
- {u"\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53", "yugothictai"},
- {u"\u6E38\u660E\u671D", "yumincho"},
- {u"\u6E38\u660E\u671D\u4F53", "yuminchotai"},
- {u"\u6E90\u30CE\u89D2\u30B4\u30B7\u30C3\u30AF", "sourcehansans"},
- {u"\u6E90\u30CE\u89D2\u30B4\u30B7\u30C3\u30AFjp", "sourcehansansjp"},
- {u"\u6E90\u30CE\u89D2\u30B4\u30B7\u30C3\u30AFhw", "sourcehansanshw"},
- {u"\u6E90\u30CE\u660E\u671D", "sourcehanserif"},
- {u"\u6E90\u30CE\u660E\u671Djp", "sourcehanserifjp"},
- {u"ipamj\u660E\u671D", "ipamjmincho"},
- {u"ipaex\u30B4\u30B7\u30C3\u30AF", "ipaexgothic"},
- {u"ipaex\u660E\u671D", "ipaexmimcho"}};
+ {u"m\u7B80\u9ED1"_ustr, "mhei"},
+ {u"m\u6F60\u7AAA"_ustr, "mhei"},
+ {u"m\u7B80\u6977\u566C"_ustr, "mkai"},
+ {u"m\u6F60\u7FF1\u628E"_ustr, "mkai"},
+ {u"m\u7B80\u5B8B"_ustr, "msong"},
+ {u"m\u6F60\u51BC"_ustr, "msong"},
+ {u"m\u7B80\u592B\u5B8B"_ustr, "cfangsong"},
+ {u"m\u6F60\u6E98\u51BC"_ustr, "cfangsong"},
+ {u"\u7D30\u660E\u9AD4"_ustr, "mingliu"},
+ {u"\u65B0\u7D30\u660E\u9AD4"_ustr, "pmingliu"},
+ {u"\u6865"_ustr, "hei"},
+ {u"\u6B61"_ustr, "kai"},
+ {u"\u6D69\u6E67"_ustr, "ming"},
+ {u"ms\u30B4\u30B7\u30C3\u30AF"_ustr, "msgothic"},
+ {u"msp\u30B4\u30B7\u30C3\u30AF"_ustr, "mspgothic"},
+ {u"ms\u660E\u671D"_ustr, "msmincho"},
+ {u"msp\u660E\u671D"_ustr, "mspmincho"},
+ {u"\u5FAE\u8EDF\u6B63\u9ED1\u9AD4"_ustr, "microsoftjhenghei"},
+ {u"\u5FAE\u8F6F\u96C5\u9ED1"_ustr, "microsoftyahei"},
+ {u"\u30e1\u30a4\u30ea\u30aa"_ustr, "meiryo"},
+ {u"hg\u660E\u671Dl"_ustr, "hgminchol"},
+ {u"hg\u30B4\u30B7\u30C3\u30AFb"_ustr, "hggothicb"},
+ {u"hgp\u660E\u671Dl"_ustr, "hgpminchol"},
+ {u"hgp\u30B4\u30B7\u30C3\u30AFb"_ustr, "hgpgothicb"},
+ {u"hg\u660E\u671Dlsun"_ustr, "hgmincholsun"},
+ {u"hg\u30B4\u30B7\u30C3\u30AFbsun"_ustr, "hggothicbsun"},
+ {u"hgp\u660E\u671Dlsun"_ustr, "hgpmincholsun"},
+ {u"hgp\u30B4\u30B7\u30C3\u30AFbsun"_ustr, "hgpgothicbsun"},
+ {u"hg\u5E73\u6210\u660E\u671D\u4F53"_ustr, "hgheiseimin"},
+ {u"hg\u5E73\u6210\u660E\u671D\u4F53w3x12"_ustr, "hgheiseimin"},
+ {u"ipa\u660E\u671D"_ustr, "ipamincho"},
+ {u"ipap\u660E\u671D"_ustr, "ipapmincho"},
+ {u"ipa\u30B4\u30B7\u30C3\u30AF"_ustr, "ipagothic"},
+ {u"ipap\u30B4\u30B7\u30C3\u30AF"_ustr, "ipapgothic"},
+ {u"ipaui\u30B4\u30B7\u30C3\u30AF"_ustr, "ipauigothic"},
+ {u"takao\u660E\u671D"_ustr, "takaomincho"},
+ {u"takaop\u660E\u671D"_ustr, "takaopmincho"},
+ {u"takao\u30B4\u30B7\u30C3\u30AF"_ustr, "takaogothic"},
+ {u"takaop\u30B4\u30B7\u30C3\u30AF"_ustr, "takaopgothic"},
+ {u"\u3055\u3056\u306A\u307F\u660E\u671D"_ustr, "sazanamimincho"},
+ {u"\u3055\u3056\u306A\u307F\u30B4\u30B7\u30C3\u30AF"_ustr, "sazanamigothic"},
+ {u"\u6771\u98A8\u660E\u671D"_ustr, "kochimincho"},
+ {u"\u6771\u98A8\u30B4\u30B7\u30C3\u30AF"_ustr, "kochigothic"},
+ {u"\uC36C\uB3CB\uC6C0"_ustr, "sundotum"},
+ {u"\uC36C\uAD74\uB9BC"_ustr, "sungulim"},
+ {u"\uC36C\uBC14\uD0D5"_ustr, "sunbatang"},
+ {u"\uBC31\uBB35\uB3CB\uC6C0"_ustr, "baekmukdotum"},
+ {u"\uBC31\uBB35\uAD74\uB9BC"_ustr, "baekmukgulim"},
+ {u"\uBC31\uBB35\uBC14\uD0D5"_ustr, "baekmukbatang"},
+ {u"\u65B9\u6B63\u9ED1\u4F53"_ustr, "fzheiti"},
+ {u"\u65B9\u6B63\u9ED1\u9AD4"_ustr, "fzheiti"},
+ {u"\u65B9\u6B63\u6977\u4F53"_ustr, "fzkaiti"},
+ {u"\u65B9\u6B63\u6977\u9AD4"_ustr, "fzkaitib"},
+ {u"\u65B9\u6B63\u660E\u9AD4"_ustr, "fzmingtib"},
+ {u"\u65B9\u6B63\u5B8B\u4F53"_ustr, "fzsongti"},
+ {u"hy\uACAC\uBA85\uC870"_ustr, "hymyeongjoextra"},
+ {u"hy\uC2E0\uBA85\uC870"_ustr, "hysinmyeongjomedium"},
+ {u"hy\uC911\uACE0\uB515"_ustr, "hygothicmedium"},
+ {u"hy\uADF8\uB798\uD53Dm"_ustr, "hygraphicmedium"},
+ {u"hy\uADF8\uB798\uD53D"_ustr, "hygraphic"},
+ {u"\uC0C8\uAD74\uB9BC"_ustr, "newgulim"},
+ {u"\uC36C\uAD81\uC11C"_ustr, "sungungseo"},
+ {u"hy\uAD81\uC11Cb"_ustr, "hygungsobold"},
+ {u"hy\uAD81\uC11C"_ustr, "hygungso"},
+ {u"\uC36C\uD5E4\uB4DC\uB77C\uC778"_ustr, "sunheadline"},
+ {u"hy\uD5E4\uB4DC\uB77C\uC778m"_ustr, "hyheadlinemedium"},
+ {u"hy\uD5E4\uB4DC\uB77C\uC778"_ustr, "hyheadline"},
+ {u"\uD734\uBA3C\uC61B\uCCB4"_ustr, "yetr"},
+ {u"hy\uACAC\uACE0\uB515"_ustr, "hygothicextra"},
+ {u"\uC36C\uBAA9\uD310"_ustr, "sunmokpan"},
+ {u"\uC36C\uC5FD\uC11C"_ustr, "sunyeopseo"},
+ {u"\uC36C\uBC31\uC1A1"_ustr, "sunbaeksong"},
+ {u"hy\uC5FD\uC11Cl"_ustr, "hypostlight"},
+ {u"hy\uC5FD\uC11C"_ustr, "hypost"},
+ {u"\uD734\uBA3C\uB9E4\uC9C1\uCCB4"_ustr, "magicr"},
+ {u"\uC36C\uD06C\uB9AC\uC2A4\uD0C8"_ustr, "suncrystal"},
+ {u"\uC36C\uC0D8\uBB3C"_ustr, "sunsaemmul"},
+ {u"hy\uC595\uC740\uC0D8\uBB3Cm"_ustr, "hyshortsamulmedium"},
+ {u"hy\uC595\uC740\uC0D8\uBB3C"_ustr, "hyshortsamul"},
+ {u"\uD55C\uCEF4\uBC14\uD0D5"_ustr, "haansoftbatang"},
+ {u"\uD55C\uCEF4\uB3CB\uC6C0"_ustr, "haansoftdotum"},
+ {u"\uD55C\uC591\uD574\uC11C"_ustr, "hyhaeseo"},
+ {u"md\uC194\uCCB4"_ustr, "mdsol"},
+ {u"md\uAC1C\uC131\uCCB4"_ustr, "mdgaesung"},
+ {u"md\uC544\uD2B8\uCCB4"_ustr, "mdart"},
+ {u"md\uC544\uB871\uCCB4"_ustr, "mdalong"},
+ {u"md\uC774\uC19D\uCCB4"_ustr, "mdeasop"},
+ {u"hg\uFF7A\uFF9E\uFF7C\uFF6F\uFF78e"_ustr, "hggothice"},
+ {u"hgp\uFF7A\uFF9E\uFF7C\uFF6F\uFF78e"_ustr, "hgpgothice"},
+ {u"hgs\uFF7A\uFF9E\uFF7C\uFF6F\uFF78e"_ustr, "hgsgothice"},
+ {u"hg\uFF7A\uFF9E\uFF7C\uFF6F\uFF78m"_ustr, "hggothicm"},
+ {u"hgp\uFF7A\uFF9E\uFF7C\uFF6F\uFF78m"_ustr, "hgpgothicm"},
+ {u"hgs\uFF7A\uFF9E\uFF7C\uFF6F\uFF78m"_ustr, "hgsgothicm"},
+ {u"hg\u884C\u66F8\u4F53"_ustr, "hggyoshotai"},
+ {u"hgp\u884C\u66F8\u4F53"_ustr, "hgpgyoshotai"},
+ {u"hgs\u884C\u66F8\u4F53"_ustr, "hgsgyoshotai"},
+ {u"hg\u6559\u79D1\u66F8\u4F53"_ustr, "hgkyokashotai"},
+ {u"hgp\u6559\u79D1\u66F8\u4F53"_ustr, "hgpkyokashotai"},
+ {u"hgs\u6559\u79D1\u66F8\u4F53"_ustr, "hgskyokashotai"},
+ {u"hg\u660E\u671Db"_ustr, "hgminchob"},
+ {u"hgp\u660E\u671Db"_ustr, "hgpminchob"},
+ {u"hgs\u660E\u671Db"_ustr, "hgsminchob"},
+ {u"hg\u660E\u671De"_ustr, "hgminchoe"},
+ {u"hgp\u660E\u671De"_ustr, "hgpminchoe"},
+ {u"hgs\u660E\u671De"_ustr, "hgsminchoe"},
+ {u"hg\u5275\u82F1\u89D2\uFF8E\uFF9F\uFF6F\uFF8C\uFF9F\u4F53"_ustr, "hgsoeikakupoptai"},
+ {u"hgp\u5275\u82F1\u89D2\uFF8E\uFF9F\uFF6F\uFF8C\uFF9F\u4F53"_ustr, "hgpsoeikakupopta"},
+ {u"hgs\u5275\u82F1\u89D2\uFF8E\uFF9F\uFF6F\uFF8C\uFF9F\u4F53"_ustr, "hgssoeikakupopta"},
+ {u"hg\u5275\u82F1\uFF8C\uFF9F\uFF9A\uFF7E\uFF9E\uFF9D\uFF7Deb"_ustr,
+ "hgsoeipresenceeb"},
+ {u"hgp\u5275\u82F1\uFF8C\uFF9F\uFF9A\uFF7E\uFF9E\uFF9D\uFF7Deb"_ustr,
+ "hgpsoeipresenceeb"},
+ {u"hgs\u5275\u82F1\uFF8C\uFF9F\uFF9A\uFF7E\uFF9E\uFF9D\uFF7Deb"_ustr,
+ "hgssoeipresenceeb"},
+ {u"hg\u5275\u82F1\u89D2\uFF7A\uFF9E\uFF7C\uFF6F\uFF78ub"_ustr, "hgsoeikakugothicub"},
+ {u"hgp\u5275\u82F1\u89D2\uFF7A\uFF9E\uFF7C\uFF6F\uFF78ub"_ustr, "hgpsoeikakugothicub"},
+ {u"hgs\u5275\u82F1\u89D2\uFF7A\uFF9E\uFF7C\uFF6F\uFF78ub"_ustr, "hgssoeikakugothicub"},
+ {u"hg\u6B63\u6977\u66F8\u4F53-pro"_ustr, "hgseikaishotaipro"},
+ {u"hg\u4E38\uFF7A\uFF9E\uFF7C\uFF6F\uFF78-pro"_ustr, "hgmarugothicmpro"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u660E\u671Dpro"_ustr, "hiraginominchopro"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u660E\u671Dpron"_ustr, "hiraginominchopron"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4\u30B7\u30C3\u30AF"_ustr, "hiraginosans"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4pro"_ustr, "hiraginokakugothicpro"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4pron"_ustr, "hiraginokakugothicpron"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u4E38\u30B4pro"_ustr, "hiraginomarugothicpro"},
+ {u"\u30D2\u30E9\u30AE\u30CE\u4E38\u30B4pron"_ustr, "hiraginomarugothicpron"},
+ {u"\u6E38\u30B4\u30B7\u30C3\u30AF"_ustr, "yugothic"},
+ {u"\u6E38\u30B4\u30B7\u30C3\u30AF\u4F53"_ustr, "yugothictai"},
+ {u"\u6E38\u660E\u671D"_ustr, "yumincho"},
+ {u"\u6E38\u660E\u671D\u4F53"_ustr, "yuminchotai"},
+ {u"\u6E90\u30CE\u89D2\u30B4\u30B7\u30C3\u30AF"_ustr, "sourcehansans"},
+ {u"\u6E90\u30CE\u89D2\u30B4\u30B7\u30C3\u30AFjp"_ustr, "sourcehansansjp"},
+ {u"\u6E90\u30CE\u89D2\u30B4\u30B7\u30C3\u30AFhw"_ustr, "sourcehansanshw"},
+ {u"\u6E90\u30CE\u660E\u671D"_ustr, "sourcehanserif"},
+ {u"\u6E90\u30CE\u660E\u671Djp"_ustr, "sourcehanserifjp"},
+ {u"ipamj\u660E\u671D"_ustr, "ipamjmincho"},
+ {u"ipaex\u30B4\u30B7\u30C3\u30AF"_ustr, "ipaexgothic"},
+ {u"ipaex\u660E\u671D"_ustr, "ipaexmimcho"}};
FontNameDictionary::const_iterator it = aDictionary.find( rNameStr );
if( it != aDictionary.end() )