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

Andreas Raab andreas.raab at gmx.de
Tue Aug 4 06:38:56 UTC 2009


Juan Vuletich wrote:
> 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.

Thanks Juan, this is really great. If folks haven't tried it yet you 
should - it does really make a difference (and I'll update a trunk image 
  soon so that you get the nicer fonts out of the box). About more sizes 
- I think the one additional thing I'd wish is a size suitable for 
Window titles. It looks odd to have nice fonts in texts and lists (and 
the chosen font is great for that) and then not-so-nice fonts for the 
Window titles. I tried using the 9pt font for titles but it's just a wee 
bit too small.

Other than that: Way to go!

Cheers,
   - Andreas

> 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.
> 
> Cheers,
> Juan Vuletich
> 
> 




More information about the Squeak-dev mailing list