diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-06-04 23:28:59 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-06-05 06:37:58 +0200 |
commit | 1263873edf86ce223ee54ecd93297273ac3b0e9f (patch) | |
tree | 9a7c842b3cf54185fe0d836084fffc2cb108ba6d /officecfg | |
parent | 8698b354ca9cd3b48aee513dd1564e46ca513261 (diff) |
tdf#155297: Use usWinAscent and usWinDescent for B Nazanin font
Its hhea.ascender and hhea.descender metrics are too small, but it does
not have USE_TYPO_METRICS bit set. Since usWinAscent/usWinDescent are
equal to sTypoAscender/sTypoDescender, we can use the former.
Change-Id: I638fa81483365f8c44278ee13ad57cd8cf8d8769
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152595
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index 2b6aabf31c3e..f47edadcae0f 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -5129,6 +5129,9 @@ <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> + <!-- tdf#155297 --> + <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"> |