Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Disable font smoothing
Print
Pages: [
1
]
Author
Topic: Disable font smoothing (Read 1654 times)
0 Members and 1 Guest are viewing this topic.
Zamoguay
Newbie
Posts: 1
Disable font smoothing
«
on:
July 15, 2017, 01:42:04 pm »
Can someone tell me if it is possible to disable the font smoothing in SFML?
I have a zoom feature in my program. When the scale is 1:1 the text is OK, but when I zoom in the text is displayed really smoothed.
Thanks!
Logged
Hapax
Hero Member
Posts: 3379
My number of posts is shown in hexadecimal.
Re: Disable font smoothing
«
Reply #1 on:
July 16, 2017, 12:39:00 pm »
An option is draw the text (as many as required) to a render texture of the desired resolution and then scale/zoom that.
Logged
Selba Ward
-SFML drawables
Cheese Map
-Drawable Layered Tile Map
Kairos
-Timing Library
Grambol
*
Hapaxia Links
*
eXpl0it3r
SFML Team
Hero Member
Posts: 11018
Re: Disable font smoothing
«
Reply #2 on:
July 16, 2017, 07:22:24 pm »
Or don't zoom rendered text and instead use a separate view and pick the right font size.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Disable font smoothing
anything