[squeak-dev] [Ann] Enhanced StrikeFonts (antiAliasing , subPixel AA)

David T. Lewis lewis at mail.msen.com
Tue Aug 4 00:37:57 UTC 2009


On Mon, Aug 03, 2009 at 06:52:47PM -0300, Juan Vuletich wrote:
> Hi Folks,
> 
> If you update to the latest trunk, you'll load Graphics-jmv.53, 
> Morphic-jmv.138 and System-jmv.118. This is the support for anti aliased 
> StrikeFonts from Cuis. The new 'BitmapDejaVu' font of point size 9 is 
> set as default. I only included size 9 (reg, italic, bold, bold italic) 
> to avoid using too much space in the image. If people want, more sizes 
> can be added.
> 
> To do proper antialiasing / subpixel AA _without_ requiring new BitBlt 
> modes, I use RGBMul BitBlt rule, and a second pass with RGBAdd rule. 
> Text looks very good, in any combination of font and background colors, 
> even at lower Display depths and / or glyphs depths.
> 
> By default underscore and caret are shown as in standard ASCII. If you 
> prefer the classic ST-80 left and up arrow, evaluate 'StrikeFont 
> useLeftArrow'. To go back to the default, evaluate 'StrikeFont 
> useUnderscore'. I also added 2 preferences #subPixelRenderFonts and 
> #subPixelRenderColorFonts (both default to true).
> 
> Andreas, thanks for all your help!
> 
> Comments are welcome.

Nicely done, thanks for this!

FYI, I did encounter a couple of glitches in doing the update. First,
I got a dialog saying "the map is more than 10 days old" (or something
like that), which I think may come from SqueakMap. After redoing the
update, all was well.

I then tried the update again (starting with my original image), and
did not get the "more than 10 days old" dialog (presumably because
I had updated the map), but then I did get an error while loading
System-jmv.118, see attached png.

In both cases, re-doing the update makes everything work, and I have
the new Cuis StrikeFonts loaded now.

Thanks!

Dave

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageNotUnderstood: UndefinedObject>>do:.png
Type: image/png
Size: 30855 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090803/c789dbac/png.png


More information about the Squeak-dev mailing list