From: "Robert Boles" Newsgroups: comp.os.msdos.djgpp Subject: Re: TTF font libraries? Date: Tue, 30 May 2000 19:01:30 -0400 Organization: Prodigy Internet http://www.prodigy.com Lines: 59 Message-ID: <8h1h5l$57iq$1@newssvr04-int.news.prodigy.com> References: <8gvf9v$68rg$1 AT newssvr04-int DOT news DOT prodigy DOT com> <01bfcb32$adcd9d00$c0247d81 AT default> NNTP-Posting-Host: lanra020-1021.splitrock.net X-Trace: newssvr04-int.news.prodigy.com 959727605 3871167 64.197.197.5 (30 May 2000 23:00:05 GMT) X-Complaints-To: abuse AT prodigy DOT net NNTP-Posting-Date: 30 May 2000 23:00:05 GMT X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MSMail-Priority: Normal X-Priority: 3 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, First off, I would like to say that it is a great library, but It may not be exactly what I am looking for. So here goes. I would like to load in a font type once. Say Times.ttf. I use the TTF2PCX.exe util, and scale it up to 100 pixels. I then use the grabber to grab the font. This way I can ship many fonts, and have them compressed in a single Dat file. Easy to use. I then use the Allegttf library inside a function to output the text. The text at 100 pixels looks great, but I have no way of scaling it down. It gets mangled in the scale down process. So my Textoutput function creates a bitmap. prints the text on this bitmap at 100 pixels high. it then masked_blits the bitmap to the destination, scaling down to the text size, lets say 10 pixels. It works perfect, I can read the font, it is Exactly the right height and width, the smooth curves of the fonts just get mangled. You can still read it, but I am sooooo close. I just would love to go that extra foot. I can put the OS on a web site for download if anyone wants to see the actual output. Like I said, its not bad, just not great. Any suggestions would be great. Remember this is an OS. Zillions of fonts with unlimited number sizes need to be available. Like TTF in windows. Any Ideas on this would be great. Like I said, I am close, but no cigar. "doug" wrote in message news:01bfcb32$adcd9d00$c0247d81 AT default... > Robert Boles schreef in artikel > <8gvf9v$68rg$1 AT newssvr04-int DOT news DOT prodigy DOT com>... > > > > Hello, > > I am making a DJGPP/Allegro based OS, and I have hit a major stumbling > > block. > > > > Are there any ttf font lib's available. I have tried using allegttf, but > the > > quality of the output is not good enough for a good GUI. It is a good > start, > > What do you mean the quality is not good enough? Can you give me some > output > of Allegttf and what kind of output you expect? IIRC Allegttf uses the > freetype 1.3.something so output quality should be pretty good. > > Freetype antialiasing makes fonts look good at small pixel sizes. It's > pretty hard to get better output than it makes. Maybe you need a higher > resolution... > > Please try to be more specific what you mean by 'quality of the output is > not good enough' > > Thanks, > > Doug Eleveld