Browse Source

LEGACY_FACTOR was upside-down.

(Should be 1.68/1.61, not 1.61/1.68.)
newinvert
Jeff Young 2 years ago
parent
commit
778213ba8f
  1. 2
      common/font/stroke_font.cpp

2
common/font/stroke_font.cpp

@ -193,7 +193,7 @@ void STROKE_FONT::loadNewStrokeFont( const char* const aNewStrokeFont[], int aNe
double STROKE_FONT::GetInterline( double aGlyphHeight, const METRICS& aFontMetrics ) const
{
static double LEGACY_FACTOR = 1.0435; // Adjustment to match legacy spacing
static double LEGACY_FACTOR = 0.9583; // Adjustment to match legacy spacing
return aFontMetrics.GetInterline( aGlyphHeight ) * LEGACY_FACTOR;
}

Loading…
Cancel
Save