[fpc-pascal] FreeType 2 with Free Pascal

Michael Van Canneyt michael at freepascal.org
Fri Dec 29 22:48:20 CET 2006

On Fri, 29 Dec 2006, Krishna wrote:

> Hi Graeme,
> On 12/29/06, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> > I want to implement anti-aliased text in my fpGUI widget set and
> > started with Xft, but that only works under Linux and not Windows. Not
> > really a issue I guess, I just heard that FreeType 2 apparently
> > generates even better glyphs under Windows than Windows inself can.
> That is all it does, generate glyphs. Do you intend to build a text
> rendering subsystem? If not, then you are better off using Xft on X
> and the native API on Win32.

Yes and no. The fpimage system was designed to run on a systeem without
graphical display:  Windows services or Linux servers without X. 
The use of freetype allows you to draw text on a bitmap and e.g. 
send it to a remote client. (e.g. from a cgi program)


More information about the fpc-pascal mailing list