officecfg/registry/schema/org/openoffice/Office/Common.xcs |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 1263873edf86ce223ee54ecd93297273ac3b0e9f
Author:     Khaled Hosny <kha...@libreoffice.org>
AuthorDate: Sun Jun 4 23:28:59 2023 +0300
Commit:     خالد حسني <kha...@libreoffice.org>
CommitDate: Mon Jun 5 06:37:58 2023 +0200

    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: خالد حسني <kha...@libreoffice.org>

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">

Reply via email to