Apple fonts in 3.7?

Ned Konz ned at squeakland.org
Tue Feb 24 08:22:13 UTC 2004


On Monday 23 February 2004 7:46 pm, Avi Bryant wrote:
> Doug Way  wrote:
> > There's also the Win32 native font support package which (I believe)
> > does support hinting via the Win32 api, but that's not currently
> > cross-platform.
>
> Not knowing anything about it - could this at least be used to produce,
> from Win32, nice looking bitmap fonts at small sizes that could then be
> used on other platforms?  If so, it would be worth doing this with
> Vera...

Without antialiasing, they're not too exciting; they're just more bitmap 
fonts. But if you wanted them, we could store pre-rendered versions 
somewhere.

I'm getting the Freetype2 stuff together; this includes a new BitBlt mode that 
lets us store 8-bit forms for characters and then display them with alpha 
blending. I've got it working except for rendering when the plugin is absent; 
perhaps someone (Andreas?) could fix this.

The advantages of this are:
* storage is a quarter of what a deeper bitmap would be
* no need to cache glyphs of different colors separately (which is what we're 
doing in the current TrueType fonts)

I'm trying to merge the Freetype2 work with the Win32NativeFonts package to 
try to get a single (simple) font API for the time being. We could use the 
new mode to improve the handling of the TrueType fonts too.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list