> i don't think it's a sizing thing.  i think ttf2subf is somehow getting
> the baseline wrong for letters like Â.  (try cyberbit even at 14.)

I don't see height issues with cyberbit (at "magic" constant of 64
even) but I am seeing width issues, especially the '0', which seems to
always be chopped off at the end.

http://mirtchovski.com/screenshots/cyberbit-erik.png

If I play around with Set_Char_Size's arguments I can get cyberbit in
various states of disrepair, especially if I touch the horizontal and
vertical dpi, but something as simple as setting the width to be
slightly higher than the height seems to do the trick:

http://mirtchovski.com/screenshots/cyberbit-erik2.png

That function is documented here:
http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Set_Char_Size

In other news, I got ttf2subf to generate higher-than-65535 code
points from the dejavu font. they look quite nice, actually:

http://mirtchovski.com/screenshots/dejavu-higher.png

Unfortunately libdraw doesn't like a font file that mixes 0xffff and
0x1ffff code points. i may revisit this in a couple of years if
unicode emoticons suddenly become popular ☺

Reply via email to