nanogui: font loading error messages?
Subject:
Re: [nanogui] font loading error messages?
From:
tj ####@####.####
Date:
18 Sep 2004 01:12:45 +0100
Message-Id: <414B7D69.4070207@comcast.net>
Hinko Kocevar wrote:
> tj wrote:
>
>> Why do I always get font "not found" message. even in the fontdemo
>> app where it loads times.ttf I get:
>>
>> fnt_createfont: times.ttf,3 not found
>> pcf_createfont: times.ttf,3 not found
>> fnt_createfont: times.ttf,4 not found
>> pcf_createfont: times.ttf,4 not found
>> fnt_createfont: times.ttf,5 not found
>> pcf_createfont: times.ttf,5 not found
>> fnt_createfont: times.ttf,6 not found
>> pcf_createfont: times.ttf,6 not found
>> fnt_createfont: times.ttf,7 not found
>> pcf_createfont: times.ttf,7 not found
>>
>> Why do I get thesse message?
>>
>
> check engine/font_freetype2.c where you'll get some hint on where the
> enginr looks for fonts. You need either MWFONTS pointing to your font
> dir or copy fonts to FREETYPE_FONT_DIR.
>
>> Even in my own app I load .pcf fonts. I get these type message even
>> though the fonts are loaded by GrCreateFont() and work.
>>
>
> PCF are different from ttf...
>
> regards,
> h
But, nano-X is finding, creating and using the fonts. So, if they are
being found, why the error messages?
tj