From mboxrd@z Thu Jan 1 00:00:00 1970 From: Latchesar Ionkov To: 9fans@cse.psu.edu Subject: Re: [9fans] ttf2subf (again) Message-ID: <20030812183817.GA2491@ionkov.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Date: Tue, 12 Aug 2003 14:38:17 -0400 Topicbox-Message-UUID: 17e3b584-eacc-11e9-9e20-41e7f4b1d025 Just couple of comments ... Although ttf2subf supprots subpixel rendering and generates RGB24 images, currently there is no support for these fonts in Plan9. The images are converted to GREY8 before they are used as a mask. Also, only RGB rendering was really tested. I am not sure the VRGB and VBGR support is correct. As Charles Forsyth already mentioned antialiased fonts are not something new in Plan9 -- there are already alot of them (althought they have only 4 levels of grey). The kudos should to go to the authors of the *draw libraries that made the antialiased fonts support so flawless. If only they thought about the subpixel stuff too ... ;) Thanks, Lucho On Tue, Aug 12, 2003 at 10:13:50AM -0600, andrey mirtchovski said: > Luchezar Ionkov has ported freetype to plan9 and has a working ttf2subf > conversion utility. The end result is that we now have antialiased fonts in > Plan 9. > > download the utility and some pre-converted fonts (under the XFree86 > license) here: > > http://pages.cpsc.ucalgary.ca/~mirtchov/p9/freetype/ > > also available are screenshots at the bottom of the page. i've put a gif of > one of the screenshots, in case you're unable to view the png's under > Plan 9 (png(1) is buggy): > > http://pages.cpsc.ucalgary.ca/~mirtchov/p9/freetype/cyber.gif > > > yes, we are aware of the fact that Charles Forsyth has done ttf2subf long > time ago, but that code never made it out and we have no idea whether it > did antialiased fonts (reasonable assumption is that it did)... > > andrey