-
-
Notifications
You must be signed in to change notification settings - Fork 216
add style_name property to font and freetype font #2175
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
Merged
Starbuck5
merged 24 commits into
pygame-community:main
from
dr0id:enhancements/font/stylename
Jul 29, 2023
Merged
Changes from 22 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
35b73f3
add stylename property to freetype font
dr0id 2c38f4e
font: add missing stubs for stylename
dr0id 35d6347
font: reformat file
dr0id 752c0ed
font/freetype: update versionadded in documentation to 2.3
dr0id fc98f19
font: rename 'stylename' to 'style_name' attribute
dr0id 5eab0f6
font: add style names examples in the docs
dr0id f2519dd
font: add tests for style_name property
dr0id a990018
font: return NULL in ternary operations instead of 0 in style_name an…
dr0id 213523e
font: fix wrong null variable
dr0id bdf8fe6
font: reformat style names examples
dr0id 3769b65
readme: update font ttf dependency version to 2.0.12
dr0id 4ea2b81
font: return error if the style_name cannot be retrieved
dr0id 5f1a8db
font: fix missing return value in adapted name getter
dr0id d1c5556
Merge main
dr0id f36fd8b
Merge remote-tracking branch 'origin/main' into enhancements/font/sty…
dr0id a122b71
font.rst: change version added to 2.3.1 for style_name
dr0id c58e415
font.c: remove error checking in the font_getter_style_name method be…
dr0id 68ec611
pygame.font: raise an error if the style_name property is used after …
dr0id 5e80f8b
freetype: raise an error instead of returning repr in get_name and ge…
dr0id ddfa563
Documentation: update versionadded to 2.3.1 for Freetype.style_name
dr0id 5e02e19
Font and Freetype: return empty string if the style name is not defin…
dr0id 7cb57e8
Merge main
dr0id 4efd781
font test: update to ensure the result is always a string
dr0id 1626918
freetype: undo changes and return the values as before
dr0id File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.