diff options
author | خالد حسني <khaled@libreoffice.org> | 2023-06-05 15:11:18 +0200 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-06-05 16:54:37 +0200 |
commit | 6014fd047a62e1a002cc27334e39e1d2e54e342f (patch) | |
tree | 3820f8bd4bb106248beb21ffc324ed91e95017c8 /vcl | |
parent | bdad6055eb32fa6e7ee9e43cf1a54edbd2318fcd (diff) |
Revert "tdf#155676: Use colon in FontsUseWinMetrics config key"
This reverts commit a38e1537cd06367783a43cc8d3b0e8d674b6e142.
Change-Id: Ic72f1acb7e38209e9b87a8fe80a39acb1eeacfe4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152547
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/font/fontmetric.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx index f9740704ca96..8a998c6815c6 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()); |