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

freetype.Font.render should also support newlines #2735

Open
denilsonsa opened this issue Mar 4, 2024 · 3 comments
Open

freetype.Font.render should also support newlines #2735

denilsonsa opened this issue Mar 4, 2024 · 3 comments
Labels

Comments

@denilsonsa
Copy link

I see that pygame.font.Font.render supports newlines since pygame-ce-2.1.4.

However, pygame.freetype.Font.render doesn't seem to support it. (I haven't tested, I'm assuming based on the documentation.) I believe the FreeType module should also be updated to have roughly the same features as the Font module.

@oddbookworm
Copy link
Member

You’ve actually got the idea backward. The font module is intended to replace freetype iirc. Same as draw is intended to replace gfxdraw eventually

@denilsonsa
Copy link
Author

denilsonsa commented Mar 4, 2024 via email

@MyreMylar
Copy link
Member

MyreMylar commented Mar 4, 2024 via email

@MyreMylar MyreMylar added the freetype pygame.freetype label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants