[Top][All Lists]

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

[Freetype] Bounding box

From: Olivier Couet
Subject: [Freetype] Bounding box
Date: Mon, 23 Sep 2002 15:43:32 +0200 (CEST)


 To render text string with FT2 I need to create an XImage which contains
the whole character string. To do that I need to know exactly what will be
the Bounding Box of the whole string at the pixel level. I would like to
know if somebody knows a algorithm with does that at any angle ? For
             T |
           X   |
         E     |  H
       T       |

What is the best way to get W and H for any font ? 


Org:    CERN - European Laboratory for Particle Physics.
Mail:   1211 Geneve 23 - Switzerland                                    
E-Mail: address@hidden                      Phone: +41 22 7676522
WWW:              Fax:   +41 22 7677155

reply via email to

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