nanogui: font loading error messages?
Subject:
Re: [nanogui] font loading error messages?
From:
Hinko Kocevar ####@####.####
Date:
18 Sep 2004 09:17:05 +0100
Message-Id: <414BEEFE.1000500@iskramedical.si>
tj wrote:
>
> But, nano-X is finding, creating and using the fonts. So, if they are
> being found, why the error messages?
>
So you are saying you can see ttf fonts displayed? I that case your ttf
font support is OK.
I kinda didn't read your first post carefully and concluded that you
lack correct ttf font location.
After giving it a second look I think this errors are harmless and
appear due to HAVE_FNT_SUPPORT and HAVE_PCF_SUPPORT being defined and if
you look at engine/devfont.c those are evaluated before the
HAVE_FREETYPE_SUPPORT and HAVE_FREETYPE_2_SUPPORT.
I don't know what font support you enabled besides ttf support, but if()
in both FNT and PCF case above avalutes to true and since you are
loading ttf and not fnt or pcf they give you error.
I'm using only ttf support and don't see the errors.
HTH,
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]