not broken at all.
alpha blending (BitBlt rule 34). But I realized that rule 28 could do a
much better work. Rule 28 takes the min value between source and destiny
for each rgb component. So it will leave the background untouched except
for those pixels where the font wants something darker. There, the font
rules. It looks great."
you need to render the font again. As I can't do that, I use whole pixel
AA (i.e. regular AA). So I prepared color maps. For example, to render a
font to red with different translucency. Then I display the text with
> 2008/4/16 Juan Vuletich <
[hidden email]>:
>
>> Hi Igor,
>>
>> I'd be happier if you actually used it, but...
>>
>> It does not require BitBlt rule 41. It uses rules 28 and 34. So it uses the
>> 32 bits (actually it could work with 24, but never tried) to store the full
>> subpixel data. The Form in the font has the glyphs in black with colored
>> borders for subpixel rendering.
>>
>>
>
> Yes, but that means that font will look fine only if you render black
> text on white background.
> For the rest 2^32-1 (font color variants) such representation is
> completely broken.
>
>
>> Cheers,
>> Juan Vuletich
>>
>>
>>
>> Igor Stasenko wrote:
>>
>>
>>> 2008/4/16 Juan Vuletich <
[hidden email]>:
>>>
>>>
>>>
>>>> Did I ever tell I did a very small change set that allows 32 bpp
>>>> StrikeFonts, and a set of free subpixel rendered fonts? Works on any
>>>> platform without any new plugin. It is what you need for this to look
>>>>
>> really
>>
>>>> great (if you are not using FreeType). It is at
>>>>
http://www.jvuletich.org/NiceFonts.html .
>>>>
>>>>
>>>>
>>>>
>>> I'm aware of your changes concerning fonts.
>>> Just one question, why it requires 32bpp , not 8bpp?
>>> A raster font should be represented by a mask and 8bpp for mask pixels
>>> is more than enough for representing font with fully opaque/fully
>>> transparent and semi-transparent pixels. What you doing with rest 24
>>> bits?
>>>
>>>
>>>
>>>
>>>> I can understand people not using it because they prefer FreeType. But
>>>>
>> I
>>
>>>> can't understand how can somebody prefer those ugly fonts...
>>>>
>>>> Cheers,
>>>> Juan Vuletich
>>>>
>>>> Adrian Lienhard wrote:
>>>>
>>>>
>>>>
>>>>
>>>>> Hey, that's cool!
>>>>>
>>>>> For those that don't have the time to load the code, here is a
>>>>>
>> screenshot
>>
>>>>>
>>>> (sorry for the additional traffic, but since there was no other response
>>>>
>> to
>>
>>>> this mail, I think it's appropriate ;) )
>>>>
>>>>
>>>>
>> ------------------------------------------------------------------------
>>
>>>>> ...Screenshot removed...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> One thing I noticed is that in the text panes, for selected code the
>>>>>
>>>>>
>>>>>
>>>> keyboard shortcuts do not work and the usual context menu is missing.
>>>>
>>>>
>>>>
>>>>> Cheers,
>>>>> Adrian
>>>>>
>>>>> BTW: I still have a problem loading or updating to versions beyond
>>>>>
>>>>>
>>>>>
>>>> Pinesoft-Widgets-gvc.301.mcz (even if there are no windows opened when
>>>> loading, which we do using MC config maps). I get an emergency debugger
>>>>
>> from
>>
>>>> which the image cannot recover.
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> UI mailing list
>>>>
[hidden email]
>>>>
http://lists.squeakfoundation.org/mailman/listinfo/ui>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>> _______________________________________________
>> UI mailing list
>>
[hidden email]
>>
http://lists.squeakfoundation.org/mailman/listinfo/ui>>
>>
>
>
>
>