VistaStyleBuilder

Tips and Visual Styles => Tips and Tricks => Topic started by: AndreasV on October 21, 2008, 12:59:40 am



Title: Aero / Transparent Background and Fonts
Post by: AndreasV on October 21, 2008, 12:59:40 am
Aero & Fonts
If you are using the transparency / blur features of Aero on a part, make sure you have added the TextGlowSize:int and Composited:bool properties to the element, otherwise you'll get non-antialiased fonts.
If you don't want a textglow on the element, simply set the TextGlowSize to 0.

TextGlowSize:int
Composited:bool

Technical Explanation
Vista will only render fonts alpha-aware if they have a glow applied to them, even if the glow is 0. If the element doesn't have TextGlow, the non-alpha-aware text-renderer will be used. This will result in non-antialiased texts on partial transparent backgrounds, since there will be no alpha-blending done.