[Lazarus] TFreeTypeFont Rotated Text

Leonardo M. Ramé l.rame at griensu.com
Fri May 27 00:04:30 CEST 2011


On 2011-05-26 23:57:48 +0200, Michael Van Canneyt wrote:
> 
> 
> On Thu, 26 May 2011, Leonardo M. Ramé wrote:
> 
> >Hi, I'm writing text over an TFPImageCanvas using TFreeTypeFont, and
> >would like to know how can I write rotated text.
> >
> >The "orientation" property doesn't seems to do anything using this font
> >class.
> 
> This is not yet supported in fpImage. I don't know whether FreeType supports
> rotated text.
> 
> Michael.

Well, yes, it does. Here is an example:

http://www.freetype.org/freetype1/image/freetst2.png


-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list