freetype-devel
[Top][All Lists]
Advanced

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

RE: [Devel] pixel size, hinting and scaling


From: Gustavo J. A. M.
Subject: RE: [Devel] pixel size, hinting and scaling
Date: 24 Jan 2003 18:58:04 +0000

On Fri, 2003-01-24 at 18:45, Graham Asher wrote:
> <<<<<<
> Regarding the subject of decomposing a transformation matrix into
> (scale x rest), libart_lgpl has this function that is probably what you
> want:
> >>>>>>
> 
> Unfortunately not. What we need is something that gives the two separate x
> and y scale factors.

 You can always call FT_Set_Char_Size(face, s, s). Then, you can get the
rest of the transformation with:
                 T = R x S
        INV(R) x T = S

        where S = | s  0 |
                  | 0  s |
        and
              s = art_affine_expansion(T);

  This should produce similar results... more or less :)

> 
> Graham Asher
> 
> 
> 
> 
> _______________________________________________
> Devel mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel
-- 
Gustavo João Alves Marques Carneiro
<address@hidden> <address@hidden>





reply via email to

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