This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Get the correct iOS system font for each weight #48937
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
971a196
Register lightweight
MitchellGoodwin 176ad4c
Formatting
MitchellGoodwin f481127
Add loop through font weights
MitchellGoodwin 2751004
Formatting
MitchellGoodwin 70327ca
Register under one family name, remove extra code
MitchellGoodwin ffc14b6
formatting
MitchellGoodwin 562afbe
Remove unneeded code
MitchellGoodwin 18c7e6d
Adjust font weight
MitchellGoodwin bab6f20
Formatting
MitchellGoodwin b46459b
Merge branch 'flutter:main' into system-font-weight
MitchellGoodwin c163e5e
Add check for 9 font counts
MitchellGoodwin 41de08d
Formatting
MitchellGoodwin 47caba5
Convert to int
MitchellGoodwin 8b78c32
Convert to int
MitchellGoodwin a3f3346
Revert "Convert to int"
MitchellGoodwin a528a57
Update test, move logic to lambda
MitchellGoodwin 0b6fc08
Formatting
MitchellGoodwin 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was profiling allocations - and this seems to be leaking the
CFNumber
s,CFMutableDictionary
andCTFontDescriptor
. I don't see CFRelease calls anywhere? I don't think there's aScopedCFTypeRef
in fml so this will need to be released manually.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@knopp could you file an issue for that so it doesn't get lost?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this has been already fixed when clang tidy started complaining about missing CFRelease.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know which release will contain the memory leak fix?