Skip to content

Add path attribute to pygame.Font #2021

Open
@Starbuck5

Description

@Starbuck5

Recently, we decided to add a name attribute to Font objects, with an API inspired by pygame.freetype. See #1969 and #1971.

The next obvious step is to also emulate the path attribute on pygame.freetype.Font. A read only attribute to get the path of the loaded font.

Metadata

Metadata

Assignees

Labels

New APIThis pull request may need extra debate as it adds a new class or function to pygamefontpygame.font

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions