Support and General Use > Theming and Appearance Customization
Anti-aliased fonts?
madsic:
--- Quote from: Llorean on August 25, 2006, 11:47:42 PM ---Why would you do it just for white backgrounds?
Different fonts (which would include sizes) and margins are planned features eventually. I'm not really sure how well kerning could be supported, at all.
--- End quote ---
... white or any other monochrome background because then the anti-aliasing could be done with that colour in mind. Say a black font on white background, which should have grey intermediate pixels. Black on blue should have black-blueish pixels etc....
Just to say that I'd like that too (and I'm sure the developers care deeply.... ;) )
pabouk:
This problem is not so hard to solve. For example values of pixels if the font is rendered in black could be multiplied with values of background pixels.
So 100% black (value 0) pixel of the font would give 100% black and 50% gray would give colour of the backround darkened to 50% of the brightness of the original background.
LinusN:
Now do the math and see how much slower this will get with a fixed-point multiplication for each rendered pixel.
pabouk:
I agree that it would be much slower than the current solution. I just wanted to point out that it is possible to have a solution with pre-rendered antialiased fonts even without an alpha mask.
If someone wants to make a patch we could see the real speed :)
Llorean:
You do realize that with monochrome fonts, what you've described is a font that is *solely* a form of alpha mask. ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version