On Thu, Aug 07, 2003 at 09:14:28AM +0200, Roland Seuhs wrote: > Hi, > > Sorry to post again, but that is very important to me. > > Is there a workaround to set the default font size? > > - I've read somewhere about pgserver command line options to specify the font, but > couldn't find anything detailed in the help info or documentation. > > - I've tried > [font-ftgl] > default_size=25 > default_face=Utopia > > in .pgserverrc, but that didn't help, probably because "font-ftgl" is not used in > all output modes. Maybe there is some general font setting which is used in all > modes? > > - Somewhere the default-font must be hardcoded in the source, if you could give me a > small hint where this is located, I'll change it myself. (Should be in pgserver, but > I couldn't find it there)
There is no global default font size, it's decided by the driver. If you're using the BDF driver, one of the fonts will be tagged with a 'DEFAULT' flag. The Freetype driver has a config variable to set the default font and size. > > - The correct/best way to do it would of course be to add a font-property to the > textbox widget. How hard would it be to add that and how many places would have to > be changed? (AFAICT once in pgserver and once in the cli_c, is that correct or are > other changes needed?) The plan was to have full support for text formatting in textbox, so little font code it has now was all designed to be removed. That's still the way I'd recommend adding font support. However, it doesn't look like that's ever going to happen, since there's nowhere near enough development motivation behind picogui. If you just wanted to hack up a quick font property, only pgserver would need to be changed. The client libraries perform very little processing on the property names, if any, and don't have to know which widgets support what properties ahead of time. --Micah -- Only you can prevent creeping featurism! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
