-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Labels
Comments
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 |
But with the FreeType module I can get extra information about the font
(such as family, and subfamily variant), while that info isn't available on
the Font module.
(Please note I have limited connectivity these days and I can't
double-check what I'm saying. I just wanted to give you a response as
quickly as possible. Please forgive me for mistakes.)
…On Mon, Mar 4, 2024, 05:25 Andrew Coffey ***@***.***> wrote:
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
|
Yes, we are trying to add the missing features you mention to font rather
than the other way around.
On Mon, 4 Mar 2024, 14:38 Denilson Sá Maia, ***@***.***>
wrote:
… But with the FreeType module I can get extra information about the font
(such as family, and subfamily variant), while that info isn't available
on
the Font module.
(Please note I have limited connectivity these days and I can't
double-check what I'm saying. I just wanted to give you a response as
quickly as possible. Please forgive me for mistakes.)
On Mon, Mar 4, 2024, 05:25 Andrew Coffey ***@***.***> wrote:
> 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
>
—
Reply to this email directly, view it on GitHub
<#2735 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADGDGGUAKFRZHZ3SXVFSH4LYWSBMRAVCNFSM6AAAAABEERTLNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZWG4ZDQOJYGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: