nanogui: About pcf_readbitmaps function


Previous by date: 31 Jan 2007 16:40:06 +0000 About pcf_readbitmaps function, max xiayi
Next by date: 31 Jan 2007 16:40:06 +0000 Re: About pcf_readbitmaps function, max xiayi
Previous in thread: 31 Jan 2007 16:40:06 +0000 About pcf_readbitmaps function, max xiayi
Next in thread: 31 Jan 2007 16:40:06 +0000 Re: About pcf_readbitmaps function, max xiayi

Subject: Re: [nanogui] About pcf_readbitmaps function
From: "Greg Haerr" ####@####.####
Date: 31 Jan 2007 16:40:06 +0000
Message-Id: <138a01c74556$63625080$6401a8c0@winXP>

: num_glyphs = readLSB32(file);
: it seems that the num_glyphs is not read correctly.

This function, in engine/font_pcf.c, is supposed to read a
32 bit LSB-ordered longword from the pcf file and
return it in machine-dependent format.  If the system
is crashing in that function, it's probably the 
dwswap() function, which is defined in include/swap.h.

If its crashing after the function call, but when num_glyphs
is used, then you're endianness is likely incorrect.

Check your endian format and make sure that the config
file has it specified correctly.  (BIGENDIAN=Y or N)

Regards,

Greg

Previous by date: 31 Jan 2007 16:40:06 +0000 About pcf_readbitmaps function, max xiayi
Next by date: 31 Jan 2007 16:40:06 +0000 Re: About pcf_readbitmaps function, max xiayi
Previous in thread: 31 Jan 2007 16:40:06 +0000 About pcf_readbitmaps function, max xiayi
Next in thread: 31 Jan 2007 16:40:06 +0000 Re: About pcf_readbitmaps function, max xiayi


Powered by ezmlm-browse 0.20.