freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] helvetica narrow metrics


From: Werner LEMBERG
Subject: Re: [Devel] helvetica narrow metrics
Date: Wed, 06 Aug 2003 19:24:04 +0200 (CEST)

> >+        advance.x = metrics->horiAdvance;
> >+        advance.y = metrics->vertAdvance;
> >+        FT_Vector_Transform( &advance, &font_matrix );
> >+        advance.x += font_offset.x;
> >+        advance.y += font_offset.y;
> >+        metrics->horiAdvance = advance.x;
> >+        metrics->vertAdvance = advance.y;
> 
> Will the font matrix ever contain anything other than a scale?
> For example, could it contain a shear transformation to make a
> font italic?
> 
> If so, then you need to transform the horizontal and vertical
> advances separately - otherwise you will get incorrect results.

Fixed, thanks.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]