- March 26, 2007
- 3,715
- 180
- Home Country
- Germany
In it's current state the FontEngine cannot properly up or downscale fonts. If a user resizes a window from it's initial skin size fronts therefore get blurry at the edges.<br /> <br /> Workarounds in the C# side cannot solve this problem fully. Some hacks are possible but they don't really give the wished result.<br /> <br /> This now happens because the device is not reset anymore on every size change and stuff is not loaded in GPU again and again. <br /> <br /> As already shown in in "A Tale of two Vertices" signed distance fields will solve this. It is basically the same rendering approach only the fonts are no stored as bitmaps but as bitmaps showing the distance to the border from each pixel.<br /> <br /> Only one font texture needs to be used regardless of the fonts size. They scaling very good. It takes some time to actually create them on start. Longer than currently as they are actually calculated using an acceptable amount of time. Skinners can also convert their fonts prior to releasing a skin. MP in this case will take font texture right away.
Continue reading...
Continue reading...