You can only change font size for truetype fonts (i.e. freefnt2 server). I don't think the built-in fonts (CSFONT_LARGE and such) support scaling.
Greetings, On 6/13/06, Martin Henne <[EMAIL PROTECTED]> wrote: > Hi all, > > to display messages on the screen, I always use something like > > font = graphics2d->GetFontServer()->LoadFont(CSFONT_LARGE,16); > graphics2d->Write(font,10,10,graphics2d->FindRGB(100,100,100),-1,"text"); > > My problem is, that when I change the value of the font size, > (e.g. from 16 to 40) the font never grown. I dont know how > to change the fontsize. > > Is there a way to ask the iFontServer what fonts are available > and how big they can be scaled? > > > > Martin > > > _______________________________________________ > Crystal-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-main > Unsubscribe: mailto:[EMAIL PROTECTED] > -- Project Manager of Crystal Space (http://www.crystalspace3d.org) and CEL (http://cel.crystalspace3d.org) Support Crystal Space. Donate at https://sourceforge.net/donate/index.php?group_id=649 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
