nanogui: Fonts offset leads to wrong memory location -- solved!!
Subject:
Fonts offset leads to wrong memory location -- solved!!
From:
"Ricardo P. Jasinski" ####@####.####
Date:
22 Nov 2006 20:23:03 +0000
Message-Id: <20061122033922.3D13B955C@thialf.cpdtt.cefetpr.br>
> It's been so long since I wrote the windows font conversion utility I
forgot how
> it worked. I think the bug is that the font conversion utility spits out
an
> incorrectly declared offset array: its using unsigned shorts, and should
be
> declared unsigned long, since Microwindows was changed to allow larger
font
> offsets after the font conversion utility was written.
>
> Try changing the declaration of the offset table in the .c file produced,
that'll
> fix it, right?
>
> Regards,
>
> Greg
It worked. Wonderful!!
Thanks, Greg!
Ricardo.