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

not set correctly when the auto-hinter is used to load/hint a glyph..
This commit is contained in:
David Turner 2000-11-08 19:44:48 +00:00
parent 5387d894a9
commit a6c747d2b5
1 changed files with 4 additions and 0 deletions

View File

@ -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: