From 9a79eb4853b3318844e7919fa23cba3a378b8ef3 Mon Sep 17 00:00:00 2001 From: David Turner Date: Wed, 8 Nov 2000 19:44:48 +0000 Subject: [PATCH] fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were not set correctly when the auto-hinter is used to load/hint a glyph.. --- src/autohint/ahhint.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/autohint/ahhint.c b/src/autohint/ahhint.c index f458f631f..dc06e4248 100644 --- a/src/autohint/ahhint.c +++ b/src/autohint/ahhint.c @@ -1042,6 +1042,10 @@ /* save current glyph metrics */ metrics = slot->metrics; + /* set linear horizontal metrics */ + slot->linearHoriAdvance = slot->metrics.horiAdvance; + slot->linearVertAdvance = slot->metrics.vertAdvance; + switch ( slot->format ) { case ft_glyph_format_outline: