nanogui: segfault creating font from .fnt file
Subject:
Re: [nanogui] segfault creating font from .fnt file
From:
Junior ####@####.####
Date:
11 Jun 2007 23:57:20 +0100
Message-Id: <A4FCD83FE50.00000582ejr@inbox.com>
> -----Original Message-----
> From: ####@####.####
> Sent: Mon, 11 Jun 2007 16:49:15 -0600
> To: ####@####.#### ####@####.####
> Subject: Re: [nanogui] segfault creating font from .fnt file
>
>> I haven't been able to successfully load a bdf file agter converting it
>> on
> .fnt file.
>
> IIRC someone mentioned there might be an endian problem
> with .fnt loading, make sure you're running the CVS code.
> Otherwise, post your target specs.
>
>
>> I tried the t1demo and also get a segfault with it.
>
> That was known working, perhaps there's an endian bug also?
> Are you running big endian?
No, I'm running little endian, ARM922
> FNT_FONT_DIR = "fonts/bdf"
> FNTNAME "/fonts/bdf/font.fnt"
>
> Try using a full path spec when loading. I'm not familiar
> with FNTNAME.
It's really a #define FNTNAME, I guess I copied this incorrectly.
The font is really a courB10.bdf. I tried the pcf files used by the demo
and the pcf loader is doing the same thing.
Thanks.