[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Ascent and Descent when a glyph is rotated.
From: |
Olivier Couet |
Subject: |
Re: [Freetype] Ascent and Descent when a glyph is rotated. |
Date: |
Thu, 12 Sep 2002 12:02:31 +0200 (CEST) |
On Thu, 12 Sep 2002 address@hidden wrote:
> 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.
>
Thanks ! I was wondering if there was some more clever way based on some
Glyph parameters which may have been changed according to the rotation
applied.
O.