nanogui: font loading error messages?
Subject:
Re: [nanogui] font loading error messages?
From:
Hinko Kocevar ####@####.####
Date:
17 Sep 2004 23:40:22 +0100
Message-Id: <414B67D2.6080809@iskramedical.si>
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
--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU
"Aì rén" | [Analects XII:22]