freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] Ascent and Descent when a glyph is rotated.


From: taraben . a
Subject: Re: [Freetype] Ascent and Descent when a glyph is rotated.
Date: Thu, 12 Sep 2002 11:55:48 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826

Olivier Couet wrote:
Hi,

 Does anybody knows how to compute the Ascent and Descent of a rotated
glyph ?

take the cosinus function: Ascent' = Ascent * cos (angle);

Unfortunately this gives floating point result.

Adib.



reply via email to

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