can someone verify this?

tigital tigital at mac.com
Thu Aug 15 18:29:06 EDT 2002


I'm having font troubles on OS X, and here is what I'm seeing:

char		filename[]	font01.vf
int		id 		1414415958	(shouldn't this be 'VFNT'?)
int 		version		0
int		num_chars	109
int		first_ascii	32
int 		w		7
int		h		9
int		num_kern_pairs	1744
int		char_data_size	7722
font_kernpair	*kern_data
font_char	*char_data
ubyte		*pixel_data
int		bitmap_id	0
int		bm_w, bm_h	128, 128
ubyte		*bm_data
int		*bm_u
int		*bm_v

...all of these numbers are what I have after doing SDL_SwapLE32 (of 
course I leave the pointers alone...)

...the crash is coming at font.cpp:891, in gr_create_font(), when:

i=1
x=0
y=9
x1=0
y1=0

...which is think is the second time through the "i" loop...

...can someone confirm that the above structure is correct?

tanx,
jamie



More information about the freespace2 mailing list