-
Notifications
You must be signed in to change notification settings - Fork 115
ndk: Add bindings for AFont #397
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
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
65468f3
Detect OS from `generate_bindings.sh`
paxbun ac6aafe
Use --no-size_t-is-usize to ensure size_t is generated
paxbun 6177f61
Prevent AFont bindgen errors by adding `typedef struct` to wrapper.h
paxbun 564e2ec
ndk-sys: Add AFont-related bindings
paxbun 8df886a
ndk: Add bindings for AFont
paxbun c6e2a08
Add bindings for AFontMatcher
paxbun 1ef2d6b
Add bindings for ASystemFontIterator
paxbun 6277dcc
ndk: Reflect Font-related changes to CHANGELOG
paxbun 37a9779
ndk: Implement Display for FontWeight
paxbun 8d5bd40
fix(ndk): Handle nullptr returning by AFont_getLocale
paxbun 1a84524
chore(ndk): Fix some doc-comments in mod font
paxbun d894508
feat(ndk): Add AxisTag to mod font
paxbun cbaf7ce
chore(ndk): Add doc comments to FamilyVariant
paxbun 702e16a
fix(ndk): Allow SystemFontIterator::new return optional value
paxbun 62dbd8e
Merge branch 'master' into feat/afont
paxbun 975f7df
fix(ndk): Remove unnecessary casts from font.rs
paxbun 4534087
fix(ndk): Replace unwrap with expect with detailed message
paxbun bcf3482
Update ndk-sys/CHANGELOG.md
paxbun b60b8eb
Update ndk/CHANGELOG.md
paxbun dbc640f
Update ndk/src/font.rs
paxbun ce7cc84
Update derive order in ndk/src/font.rs
paxbun d8104f8
ndk: Link AFont to the page itself
paxbun a4cc283
`use std::result::Result;` in ndk/src/font.rs
paxbun a92c0ce
Fix documentation of ndk/src/font.rs
paxbun aeea686
feat(ndk): Add FontWeight::MIN
paxbun c9c16ed
Fix documentation of ndk/src/font.rs
paxbun 030b3be
feat(ndk): Add owned -> owned conversions to FontWeight and AxisTag
paxbun ee22076
fix(ndk): Wrap the entire font module with cfg
paxbun e43eef1
fix(ndk): Add padding checks to AxisTag
paxbun ba3d2ec
feat(ndk): Add Font::from_be_bytes
paxbun c94f457
chore(ndk): Add an example to Font::axis_count
paxbun 6707ec7
chore(ndk-sys): Add explanation about manual typedefs in wrapper.h
paxbun c8682ef
fix(ndk): Rename error types in ndk/src/font.rs
paxbun 598223c
feat(ndk): Add detailed error messages to AxisTagValueError
paxbun 7c875e9
Merge remote-tracking branch 'upstream/master' into feat/afont
MarijnS95 42d2725
feat: Add FontMatcher::match_font
paxbun 628da8a
Fix clippy warnings
paxbun 8b8c66f
Apply suggestions from code review
paxbun bd0353a
ndk: Add doc-comments to the consts in FontWeight
paxbun 41d2bb7
ndk: Swap the content of AxisTag::from_be and from_be_bytes
paxbun e51ef48
ndk: Don't directly access fields of AxisTag from the outside
paxbun 6778149
ndk: Fix doc-comments of from_ptr in ndk::font
paxbun 0a303ee
ndk: Add AxisTag ctors that constly panics for invalid input
paxbun ada3c61
Remove unimplemented! from examples in ndk::font
paxbun 1bb7c05
Remove redundant as_str logic from ndk::font
paxbun 9a26426
ndk: Fix doc-comments in ndk::font
paxbun 86b4ef3
Apply suggestions from code review
paxbun f31c36d
ndk: Fix doc-comments in ndk::font
paxbun c27b0a7
ndk: Makes examples in ndk::font compilable
paxbun 4dd7c7b
Merge branch 'master' into feat/afont
paxbun 3e1bca0
ndk: Remove trailing spaces in doc-comments in ndk::font
paxbun f63d238
ndk: Fix hyperlinks in doc-comments in ndk::font
paxbun 61287c6
ndk: Fix clippy warnings in ndk::font
paxbun 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
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.