Date: Wed, 05 May 2004 14:36:55 -0400 From: tj <999alfred@comcast.net> Subject: Re: [nanogui] Selecting fonts Cool, that worked using font_a = GrCreateFont ("/usr/X11/lib/fonts/75dpi/helvB18-ISO8859-15.pcf.gz", 18,NULL); But, I didn't see in the api html or .pdf docs anything about GrCreateFont excepting a font file name. They only state ASCII string of a built in font face. I assumed that by built in it meant compiled in at nano-X build time. My mistake. Thank You again. tj Greg Haerr wrote: >: How do you select one of those in a nano-X app? Like, say, >: winFreeSystem14x16? > >Look at drivers/genfont.c, the table shows the fonts included, >and their string name that is used to look them up using >GrCreateFont. Also, as Jonathan suggested, you can give >a full path to a .fnt, .pcf, or .pcf.gz bitmap font file, and >Microwindows will use that font. > >Regards, > >Greg > >--------------------------------------------------------------------- >To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org >For additional commands, e-mail: nanogui-help@linuxhacker.org > > > >