Marcin Owsiany <[EMAIL PROTECTED]> writes: > On Tue, Nov 20, 2001 at 06:14:40PM +0100, Falk Hueffner wrote: > > LC_CTYPE=en_IN.UTF-8 reduce-font /usr/src/unifont.bdf < all.utf > >unifont-reduced.bdf > > setlocale: en_IN.UTF-8 > > FYI: MB_CUR_MAX/MB_LEN_MAX: 6/16 > > Used chars: 1729 (4112912 processed) > > bdftobogl -b unifont-reduced.bdf > unifont-reduced.bgf > > bogl_write_font failed > > Well, reduce-font succeeded. But I have never seen that bdftobogl > error... Could it be that you ran out of disk space?
No. This seems to be a bug in bdftobogl. Adding a bit debug shows: bdftobogl -b unifont-reduced.bdf > unifont-reduced.bgf my_write(1, 0x120008846, 4) write(1, 0x120008846, 4) -> 4 write(1, 0x12000884a, 0) -> 4 my_write(1, 0x11ffff1e0, 48) write(1, 0x11ffff1e0, 48) -> 48 write(1, 0x11ffff210, 0) -> 48 my_write(1, 0x12001a990, 16) write(1, 0x12001a990, 16) -> 16 write(1, 0x12001a9a0, 0) -> 16 my_write(1, 0x1200664c0, 1024) write(1, 0x1200664c0, 1024) -> 1024 write(1, 0x1200668c0, 0) -> 1024 index_size = 3714 my_write(1, 0x1200668d0, 29712) write(1, 0x1200668d0, 29712) -> 15292 my_write: Bad address write(1, 0x12006a48c, 14420) -> -1 bogl_write_font failed 5 Probably in bdftobogl.c, if (my_write(fd, font->index, index_size * sizeof(int *))) should really be if (my_write(fd, font->index, index_size * sizeof(int))) (the bogl author seems to be of the "long" = "make sure it's really 32 bit" fraction. Sigh.) Falk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]