You can generate fonts in subpixel mode, but they are not much different
than the greyscale ones created by antialias. The reason is that when a
color image is specified as a mask in libdraw, it converts it to greyscale
and applies the resulting mask to every color channel.

Thanks,
        Lucho

On Wed, Mar 22, 2006 at 08:34:57PM -0600, erik quanstrom said:
> not true (at least on p9p):
> 
>       ; for(i in 10 12 16) ttf2subf -f *.ttf -s $i -n dolous -m subpixel -r 
> rgb
>       ; font=`{pwd}^/dolous/dolous.16.font 9term
> 
> - erik
> 
> On Wed Mar 22 20:27:43 CST 2006, [EMAIL PROTECTED] wrote:
> > You can ignore the subpixel mode -- libdraw doesn't support it. 
> > 
> > Thanks,
> >     Lucho
> > 
> > On Wed, Mar 22, 2006 at 08:03:29PM -0600, erik quanstrom said:
> > > i've been using a version that makes an attempt to generate as few 
> > > subfonts as possible.
> > > the last time i goggled ttf2subf the website located was down.
> > > 
> > > i've been working with code2000, which looks hideous in mono mode, but is 
> > > pretty readable
> > > subpixel or antialias mode, but ttf2subf is too agressive in its 
> > > antialiasing and does not snap
> > > near-grid vertical or horizontal lines to the grid.
> > > 
> > > i cleaned up the code a bit and think that in subpixel mode, it generates 
> > > non-grey
> > > pixels. that is pixels like
> > > 
> > >   char a,b,c;
> > > 
> > >   (a<<24) | (b<<16) | (c<<8) | 0xff       where a, b, c are not all equal.
> > > 
> > > but i have not yet come up with a good solution to either issue.
> > > 
> > > - erik
> > > 
> > > On Wed Mar 22 18:51:46 CST 2006, [EMAIL PROTECTED] wrote:
> > > > i did for a while and you can find the latest source on sources or on
> > > > the web. i heard there's another ttf2subf which gets better results
> > > > generating less subfonts (which is what i worked last on, and i think
> > > > i made reasonable success). i have no idea whether the other one has
> > > > made it out.
> > > > 
> > > > On 3/22/06, erik quanstrom <[EMAIL PROTECTED]> wrote:
> > > > > has anybody been working on this program? (it converts truetype fonts
> > > > > to plan9 subfonts by using freefont.)
> > > > >
> > > > > - erik
> > > > >
> > 

Reply via email to