nanogui: can not create font
Subject:
Re: [nanogui] can not create font
From:
"Greg Haerr" ####@####.####
Date:
4 Jul 2001 16:59:42 -0000
Message-Id: <004001c104aa$6ab542e0$3aba46a6@xmission.com>
: In my applicaiton , i use CreateFont to create font (Arial type),
: after compile, during running, it show me the message
: can not create font "Arial"
: do i need to install additional font such as true-type fonts to
: the fonts dir and rebuild system again ?
At this point, the font name must specify a filename,
rather than just the font name, and the font must be in
the font directory specified in the src/config file.
So if you change the code to "arial.ttf" and then
copy the free ms fonts from the microwindows ftp site
into /usr/local/microwin/fonts (the default), it
will work.
Regards,
Greg