LEGACY_FACTOR was upside-down.

(Should be 1.68/1.61, not 1.61/1.68.)
This commit is contained in:
Jeff Young 2023-08-07 14:00:52 +01:00
parent f5c7455901
commit 778213ba8f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}