Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
TT Font smoothing... — Gideros Forum

TT Font smoothing...

SinisterSoftSinisterSoft Maintainer
edited March 2017 in Announcements
The next version of Gideros will have TT Font smoothing, thanks to @Hgy29...

To use smoothing just replace the filter true|false with a number, eg 3...
font=TTFont.new("font.ttf",58,3)
OR
font=TTFont.new("font.ttf",58," !#$%&'()*+,-./0123456789:;<=>?<a href="https://forum.gideros.rocks/profile/ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%26quot" rel="nofollow">@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz&quot</a>;,3)
Here is a comparison image scaled up, smooth setting of 3 on the left, filter set to true on the right...
(Click the image to see the scaled up version)
comparison.png
1560 x 597 - 367K
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
https://deluxepixel.com
+1 -1 (+7 / -0 )Share on Facebook
Sign In or Register to comment.