Re: [fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Krishna
Hi Michael, On 12/30/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Fri, 29 Dec 2006, Krishna wrote: > 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. T

[fpc-pascal] booltostr, compability issue

2006-12-29 Thread Marco van de Voort
I just fixed booltostr in 2.1.1 to be D7 compat. This is one of the stupidest Delphi changes I ever saw, but anyway, compability is compability. Booltostr now returns "-1" and "0", and only "True" and "False" if you pass true to the 2nd parameter which is default false. You can influence the o

Re: [fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Michael Van Canneyt
On Fri, 29 Dec 2006, Krishna wrote: > Hi Graeme, > > On 12/29/06, Graeme Geldenhuys <[EMAIL PROTECTED]> 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

Re: [fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Graeme Geldenhuys
On 12/29/06, Krishna <[EMAIL PROTECTED]> wrote: 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. I am evaluating that idea. Just trying to find all the pro's and con's. Not to m

Re: [fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Graeme Geldenhuys
Thanks Michael. I'll have a look at it shortly... I see they have FreeType 1 implemented it Pascal and C, but unfortunately FreeType 2 only in C. Regards, - Graeme - On 12/29/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Fri, 29 Dec 2006, Graeme Geldenhuys wrote: > Hi, > > Has an

Re: [fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Krishna
Hi Graeme, On 12/29/06, Graeme Geldenhuys <[EMAIL PROTECTED]> 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 glyph

Re: [fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Michael Van Canneyt
On Fri, 29 Dec 2006, Graeme Geldenhuys wrote: > Hi, > > Has anybody ever used the FreeType 2 library directly with Free > Pascal? Anybody know of converted C headers for FreeType 2? The unit freetypeh.pp in fcl/image contains the header translations. The freetype unit in fcl/image contains a d

[fpc-pascal] FreeType 2 with Free Pascal

2006-12-29 Thread Graeme Geldenhuys
Hi, Has anybody ever used the FreeType 2 library directly with Free Pascal? Anybody know of converted C headers for FreeType 2? 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 h