Replies: 3 comments
-
Update: I have located the reason our fonts are aliased (I believe). The preload_fonts function doesn't seem to be working for the latest implementation I've been working on, so I'll dig through that to see if there's a cause there. |
Beta Was this translation helpful? Give feedback.
-
There was some work put into this. There is an 'antialiased' theming
parameter you can set for elements with font theming. Just set it to "0" to
turn off antialiasing on e.g. a button.
There isn't a convenient way to tag some html text in a text box as
antialiased yet though. It could fairly easily be added to the font tag
parser as a new attribute if that is what you are looking for.
…On Sat, 6 Jul 2024, 15:18 J Gynn, ***@***.***> wrote:
Update: I have located the reason our fonts are aliased (I believe). The
preload_fonts function doesn't seem to be working for the latest
implementation I've been working on, so I'll dig through that to see if
there's a cause there.
—
Reply to this email directly, view it on GitHub
<#616 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADGDGGQCOB3ZY6ZJYV6556DZK74ENAVCNFSM6AAAAABKOOSZIWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNZVGA3DE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Got it working now. Seems to be undocumented that you have to specify it in the |
Beta Was this translation helpful? Give feedback.
-
Really appreciate the work going into this library, it's made our lives so much easier. I'm currently working on a project that has a somewhat retro styling, and as a result we're using a font that we would really like to keep crisp. I know this is possible with pygame by setting the antialiasing property when calling Font.render, but is there an equivalent in pygame_gui? If this doesn't exist, is there an easy way to expose that functionality aside from having to subclass half of the library?
I haven't been able to dig up anything about font antialiasing in the documentation or on GitHub but please point me if I've missed something. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions