nanogui: Fonts offset leads to wrong memory location -- solved!!


Previous by date: 22 Nov 2006 20:23:03 +0000 Re: Fonts in nano-X, nxlib, FLTK, Greg Haerr
Next by date: 22 Nov 2006 20:23:03 +0000 Re: What coding and font is best for Chinese application, Greg Haerr
Previous in thread:
Next in thread:

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.


Previous by date: 22 Nov 2006 20:23:03 +0000 Re: Fonts in nano-X, nxlib, FLTK, Greg Haerr
Next by date: 22 Nov 2006 20:23:03 +0000 Re: What coding and font is best for Chinese application, Greg Haerr
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.