nanogui: Can't rotate built-in font


Previous by date: 30 Jan 2003 19:09:36 -0000 Re: Can't rotate built-in font, Greg Haerr
Next by date: 30 Jan 2003 19:09:36 -0000 Stupid compile errors., David Siebert
Previous in thread: 30 Jan 2003 19:09:36 -0000 Re: Can't rotate built-in font, Greg Haerr
Next in thread:

Subject: Re: [nanogui] Can't rotate built-in font
From: "Greg Haerr" ####@####.####
Date: 30 Jan 2003 19:09:36 -0000
Message-Id: <018501c2c891$d60bdcf0$220110ac@WasatchNewport>

> My application is a "real-time" chart plotter so I will be adding font
> rotation.

That would be great...  check out the transformation function
in font_freetype.c.  That code computes the baseline x,y
location for a string, the trickier part, handled in the freetype
lib, is building differently-sized bitmaps based on the rotation
angle.  This won't be the same as the original char bitmap size.

Regards,

Greg

Previous by date: 30 Jan 2003 19:09:36 -0000 Re: Can't rotate built-in font, Greg Haerr
Next by date: 30 Jan 2003 19:09:36 -0000 Stupid compile errors., David Siebert
Previous in thread: 30 Jan 2003 19:09:36 -0000 Re: Can't rotate built-in font, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.