From: Jeffrey D. <jd...@lo...> - 1997-09-20 04:07:43
|
i think it would be a good idea to do some sort of vector font format, but ttf is just too complicated to do at runtime for a game, or complex gui. a ttf converter to a simpler font format would be a good idea (borland's chr fileformat maybe) Nigel Taylor wrote: > >So what do you think? Does anyone have > >any experience programming a TTF engine? Would it be a waste of time? > > There is a convertor available, I'm at work at the mo so cant check but I > think its called TTF2PC16.EXE or something which converts TTF to PCX files, > you select the size you want and everything and off it goes, you can then > use the PCX file to extract the font into something that Allegro already > likes. > > I only ever use the Monochrome Fonts output option (cos I dont have the > colours available) but I'm pretty sure it outputs Antialiased (Grey Scale > over a given numer of colour indexes) as well, if you use text_out or > whatever in Allegro with '-1' as the colour then thats you're TTF font isnt > it?? > > Cheers, > Nigel... > mailto:ta...@sy... > mailto:tay...@co... > mailto:tay...@ho... > http://ourworld.compuserve.com/homepages/taylor_nigel/ -- "The gods are waiting for your response." Jeffrey Drake smtp on EFnet ... in #djgpp, #c, #coders, #asm jd...@lo... http://www.geocities.com/SiliconValley/Heights/4701/index.html |