bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 152 forks source link

Added FontSize and FontStyle to Text, TextFacet, RenderText #720

Closed yvileapsis closed 5 months ago

yvileapsis commented 5 months ago

In order to have better management of text styling, following was done:

TextStyle and TextSize members are initialized to 0, which does not alter previous behavior:

(cherry picked from commit 89296a76d3427b9c178f8fd8c169f75654e2a543)

samefonttwostyles

bryanedds commented 5 months ago

Thanks! I'll prioritize this!

bryanedds commented 5 months ago

In addition to this, we also have a concrete need to update SDL mixer.

bryanedds commented 5 months ago

WIP merge branch here - https://github.com/bryanedds/Nu/compare/yvileapsis-Add-FontSize-and-FontStyle?expand=1