Hi everyone,
This picture shows two texts (slightly scaled down scale~=0.8f). One is displayed with a Runtime font, the other one with an Offline font.
The one with Offline font scales down nicely as it uses a linear-style smoothing method.
The one with Runtime font glitches as it scales down, it uses a nearest display method.
Is there a way to fix this, forcing the Font cache textures render settings, or something ?
Thanks.
Yeah, the runtime fonts currently use point sampling as Slate never renders them at anything other than a 1:1 ratio.
If you’re building from source, take a look in SlateRHIFontTexture.cpp
and try changing SF_Point
to SF_Bilinear
. Let me know how that works for you.
Thanks.
Yes, this works perfectly, thanks alot.
Wouldn’t it be nice to have this by default, or have a flag in the Font editor ?
Great, thanks.
It can’t be a per-font setting as we have a single atlas texture for all runtime cached glyphs. We’ve just decided to enable it by default (5d6f2b98a57f004175c39b2ee7a47268c732c421).