ref: a6c747d2b5c45ba08be27547065c343ba95472e3
parent: 5387d894a932783d66f364c2958cd52d0cb653de
author: David Turner <[email protected]>
date: Wed Nov 8 14:44:48 EST 2000
fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were not set correctly when the auto-hinter is used to load/hint a glyph..
--- 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: