Skip to content

Missing wrapLength argument in pygame.font.Font.size #2127

Open
@bilhox

Description

@bilhox

Hello,

Recently, you have introduced wraplength for fonts when rendering with pygame.font.Font.render.
That's why, we should have a wraplength parameter for pygame.font.Font.size so it gives us the right height.

Something like this :

pygame.font.Font.size(text : str, wraplength : int)

Metadata

Metadata

Assignees

No one assigned

    Labels

    fontpygame.font

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions