-
Notifications
You must be signed in to change notification settings - Fork 17
Check the presence of glyphs when selecting font #113
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
Changes from all commits
21741dc
caf01dd
1b3125e
5135217
139fab6
5713f1e
5ed9fd7
1b2bbf0
bfe940f
16e3397
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,9 @@ | |
| namespace txt { | ||
|
|
||
| std::vector<std::string> GetDefaultFontFamilies() { | ||
| #ifdef FLUTTER_USE_FONTCONFIG | ||
| return {"TizenDefaultFont"}; | ||
| #else | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need this change (caf01dd) if we're not to re-enable fontconfig?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No,
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then you might revert the commit.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm sorry but I don't get the point. Because..?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The commit in this context is caf01dd.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm still not sure if I understood your intentions... This PR is base on I'm sorry for the lack of explanation of this.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If this PR depends on fontconfig, why not re-enable the fontconfig option in azure-pipelines.yml? The change inside the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @swift-kim Well... You're right. I just wanted to collect the related re-enable font config contents in one PR.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, if there will be a follow-up PR, you may just briefly mention what changes will be made in that PR and how
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've updated PR description! |
||
| return { | ||
| "SamsungOneUI", | ||
| "SamsungOneUIArabic", | ||
|
|
@@ -72,11 +75,12 @@ std::vector<std::string> GetDefaultFontFamilies() { | |
| "BreezeSansFallback", | ||
| "BreezeColorEmoji", | ||
| }; | ||
| #endif | ||
| } | ||
|
|
||
| sk_sp<SkFontMgr> GetDefaultFontManager() { | ||
| #ifdef FLUTTER_USE_FONTCONFIG | ||
| return SkFontMgr_New_FontConfig(nullptr); | ||
| return SkFontMgr::RefDefault(); | ||
| #else | ||
| return SkFontMgr_New_Custom_Directory("/usr/share/fonts"); | ||
| #endif | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.