On 15.01.2008, at 10:44, Fox wrote: >> >>> I want to use very huge fonts in my application. The size of=20 >>> the fonts maybe up to 500 in pix. >>> I try every fonts in fltk 1.1.7, but none of them is big enough. >>> =20 >>> Is there anyone do this before? Which fonts should use? >> >> Desktop font systems are intended for display use, and don't really >> go >> that big. >> Why do you want such large characters? >> If it is for making posters or something, perhaps a drawing package >> may >> be the way to go, some of them support scaling of font characters to >> large sizes. >> Or it may be possible to scale characters using AGG or Cairo or >> something. >> What platform are you on? >> > Is there "vector font" supported by fltk, just like TrueType/*.ttf > or something? > > My platform on PC is FC5 Linux.
As Ian said, you must compile with Xft support to get vector based fonts under Linux. But there may be another issue that font sizes are somewhere stored or handled as 8 bit only, limiting fonts to a maximum height of 255 pixels. This limitation is unfortunatley typical for FLTK 1.1 and should not exist in 2.0 - but I have not tested that. Matthias ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

