fixed a small bug: the "linearHoriAdvance" and "vertHoriAdvance" were

not set correctly when the auto-hinter is used to load/hint a glyph..
VER-2-0-4-PATCH
David Turner 25 years ago
parent e3258dfdae
commit 9a79eb4853
  1. 4
      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:

Loading…
Cancel
Save