From d84295109dcd6dd681267e09ed45e940d4dd5310 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 25 Apr 2024 20:10:36 +0200 Subject: [PATCH] Improve fraction and stack gap - Reduce the top gap - Slightly increase the bottom gap so that they are balanced - Make sure numerators without descenders are still aligned to numerators with descenders. - Make sure stacks and fractions align Fixes #74 --- .../NotoSansMath.glyphspackage/fontinfo.plist | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sources/NotoSansMath.glyphspackage/fontinfo.plist b/sources/NotoSansMath.glyphspackage/fontinfo.plist index 00818d8d..f5a4594c 100644 --- a/sources/NotoSansMath.glyphspackage/fontinfo.plist +++ b/sources/NotoSansMath.glyphspackage/fontinfo.plist @@ -1096,14 +1096,14 @@ AxisHeight = 278; DelimitedSubFormulaMinHeight = 2300; DisplayOperatorMinHeight = 2300; FlattenedAccentBaseHeight = 714; -FractionDenomDisplayStyleGapMin = 210; -FractionDenominatorDisplayStyleShiftDown = 690; +FractionDenomDisplayStyleGapMin = 300; +FractionDenominatorDisplayStyleShiftDown = 800; FractionDenominatorGapMin = 71; FractionDenominatorShiftDown = 320; -FractionNumDisplayStyleGapMin = 210; -FractionNumeratorDisplayStyleShiftUp = 780; -FractionNumeratorGapMin = 71; -FractionNumeratorShiftUp = 580; +FractionNumDisplayStyleGapMin = 150; +FractionNumeratorDisplayStyleShiftUp = 710; +FractionNumeratorGapMin = 75; +FractionNumeratorShiftUp = 530; FractionRuleThickness = 71; LowerLimitBaselineDropMin = 636; LowerLimitGapMin = 100; @@ -1124,12 +1124,12 @@ ScriptScriptPercentScaleDown = 50; SkewedFractionHorizontalGap = 350; SkewedFractionVerticalGap = 71; SpaceAfterScript = 40; -StackBottomDisplayStyleShiftDown = 690; -StackBottomShiftDown = 385; -StackDisplayStyleGapMin = 300; -StackGapMin = 210; -StackTopDisplayStyleShiftUp = 780; -StackTopShiftUp = 470; +StackBottomDisplayStyleShiftDown = 800; +StackBottomShiftDown = 320; +StackDisplayStyleGapMin = 450; +StackGapMin = 146; +StackTopDisplayStyleShiftUp = 710; +StackTopShiftUp = 530; StretchStackBottomShiftDown = 590; StretchStackGapAboveMin = 100; StretchStackGapBelowMin = 100;