diff options
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 8 | ||||
-rw-r--r-- | vcl/source/font/fontmetric.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index f47edadcae0f..2eb90331ad33 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -5126,12 +5126,12 @@ </info> <value> <!-- tdf#148122 Celtic MD font appears wrong --> - <it>Celticmd,1571,-567,1571,-547,2126,559</it> + <it>Celticmd:1571:-567:1571:-547:2126:559</it> <!-- DIN Light (ttf version) has odd metrics. The otf version works fine. --> - <it>DIN Light,1509,-503,1509,-483,1997,483</it> + <it>DIN Light:1509:-503:1509:-483:1997:483</it> <!-- tdf#155297 --> - <it>B Nazanin,1343,-705,1990,-1045,1990,1045</it> <!-- Regular --> - <it>B Nazanin,1341,-707,2126,-1120,2126,1120</it> <!-- Bold --> + <it>B Nazanin:1343:-705:1990:-1045:1990:1045</it> <!-- Regular --> + <it>B Nazanin:1341:-707:2126:-1120:2126:1120</it> <!-- Bold --> </value> </prop> <prop oor:name="FontsDontUseUnderlineMetrics" oor:type="oor:string-list" oor:nillable="false"> diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx index 8a998c6815c6..f9740704ca96 100644 --- a/vcl/source/font/fontmetric.cxx +++ b/vcl/source/font/fontmetric.cxx @@ -400,10 +400,10 @@ bool ImplFontMetricData::ShouldUseWinMetrics(int nAscent, int nDescent, int nTyp return false; OUString aFontIdentifier( - GetFamilyName() + "," - + OUString::number(nAscent) + "," + OUString::number(nDescent) + "," - + OUString::number(nTypoAscent) + "," + OUString::number(nTypoDescent) + "," - + OUString::number(nWinAscent) + "," + OUString::number(nWinDescent)); + GetFamilyName() + ":" + + OUString::number(nAscent) + ":" + OUString::number(nDescent) + ":" + + OUString::number(nTypoAscent) + ":" + OUString::number(nTypoDescent) + ":" + + OUString::number(nWinAscent) + ":" + OUString::number(nWinDescent)); css::uno::Sequence<OUString> rWinMetricFontList( officecfg::Office::Common::Misc::FontsUseWinMetrics::get()); |