nanogui: how to load fonts in a window
Subject:
Re: [nanogui] how to load fonts in a window
From:
"Greg Haerr" ####@####.####
Date:
2 Jul 2007 17:49:45 +0100
Message-Id: <0e5c01c7bcc9$0d72e370$0300a8c0@RDP>
: font = GrCreateFont(/root/microwindows/DVISR0NT.TTF, i , NULL);
If you list the file in upper case, make sure it exists in the
filesystem in upper case.
:
: Even your given examples in microwindows is not working properly(ftdemo,
: f1demo etc)
If the demo programs aren't working, then your freetype
installation probably isn't working. I recommend moving
backwards to the 1.x freetype for the time being, then
working with a later 2.x version. This version is documented
in the engine/font_freetype.c file.
The demos do work, I also recommend running them on a linux
desktop before moving to an embedded target.
Regards,
Greg