Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Font.set_linesize() (TTF 2.24.0 feature) #3282

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

itzpr3d4t0r
Copy link
Member

We've long had the ability to get the line size with get_linesize(), but we've never had the ability to set the spacing between lines when rendering multiline text. Thanks to SDL_TTF 2.24.0 this PR adds the functionality.

@itzpr3d4t0r itzpr3d4t0r added New API This pull request may need extra debate as it adds a new class or function to pygame font pygame.font labels Jan 5, 2025
@itzpr3d4t0r itzpr3d4t0r requested a review from a team as a code owner January 5, 2025 13:04
@itzpr3d4t0r itzpr3d4t0r marked this pull request as draft January 7, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
font pygame.font New API This pull request may need extra debate as it adds a new class or function to pygame
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant