[squeak-dev] Re: [Ann] Enhanced StrikeFonts (antiAliasing,
subPixel AA)
Juan Vuletich
juan at jvuletich.org
Wed Aug 5 17:34:11 UTC 2009
Bert Freudenberg wrote:
>
> On 05.08.2009, at 18:17, Juan Vuletich wrote:
>
>> Bert Freudenberg wrote:
>>> Juan,
>>>
>>> the new StrikeFonts look nicely crisp, but the letter spacing seems
>>> to be off. Compare this new to old rendering:
>>>
>>> (image snipped)
>>>
>>>
>>>
>>> Can this be made more homogenous? The space after the "r" seems to
>>> be too large, and the sequence "lit" looks very uneven compared to
>>> the right, older shot.
>>>
>>
>> I created the fonts automatically, from a sample rendered with
>> FreeType, using area each glyph uses. In this case, the $r has a very
>> light blue pixel at the topRight. I can modify the script to ignore
>> pixels that are too light when setting the bounds for the glyph, but
>> I can not guarantee perfect results unless glyphs are tweaked by hand.
>
> Yes, under magnification I see thew problem ... oh well :)
I'll play a bit with this for the next trunk update I do.
>
>>> Secondly, can the sub-pixel AA be disabled on the fly? It leads to
>>> visible color fringes when the subpixel layout does not match your AA.
>>>
>>
>> Sure. See Preference #subPixelRenderFonts.
>
>
> Hmm, this does not show up in the Preferences panel ... also, when I
> disable that, all pixels become full black, so this is unusable.
>
> - Bert -
It should work ok, doing gray AA. It must be some problem we introduced
in one of the very last trunk updates. Will fix it. Expect a new version
in the trunk tonight.
Cheers,
Juan Vuletich
More information about the Squeak-dev
mailing list
|