Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Engine][Web] Fixed fallback font loading process #166212

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 6 commits into from
Jun 5, 2025

Conversation

koji-1009
Copy link
Contributor

@koji-1009 koji-1009 commented Mar 30, 2025

fix #165299

Fixes a problem where the drawing does not render as expected if the value of maxCodePointsCovered is greater for an unsuitable language than for a font suitable for that language.

before after

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actions github-actions bot added engine flutter/engine repository. See also e: labels. platform-web Web applications specifically labels Mar 30, 2025
@koji-1009 koji-1009 marked this pull request as ready for review March 30, 2025 02:01
@koji-1009 koji-1009 force-pushed the fix/noto_sans_jp_mismatch branch from c79856c to 89bba24 Compare May 28, 2025 05:27
@kevmoo kevmoo requested a review from mdebbar May 28, 2025 21:15
Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's always great to get the help of someone with a better understanding of the native language :)

Thank for contributing this fix!

@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #166212 at sha 89bba24

@flutter-dashboard flutter-dashboard bot added the will affect goldens Changes to golden files label May 29, 2025
Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>
@flutter-dashboard
Copy link

Golden file changes are available for triage from new commit, Click here to view.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Changes reported for pull request #166212 at sha a0932ec

@mdebbar
Copy link
Contributor

mdebbar commented Jun 3, 2025

@koji-1009 here's the screenshot that was generated by the new golden test:

image

It looks like your "after" screenshot. Could you please confirm that it looks right so I can approve it?

@koji-1009
Copy link
Contributor Author

@mdebbar
Yes, that image is the expected result! Thank you!

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 4, 2025
Copy link
Contributor

auto-submit bot commented Jun 4, 2025

autosubmit label was removed for flutter/flutter/166212, because This PR has not met approval requirements for merging. The PR author is not a member of flutter-hackers and needs 1 more review(s) in order to merge this PR.

  • Merge guidelines: A PR needs at least one approved review if the author is already part of flutter-hackers or two member reviews if the author is not a flutter-hacker before re-applying the autosubmit label. Reviewers: If you left a comment approving, please use the "approve" review action instead.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 4, 2025
Copy link
Contributor

@harryterkelsen harryterkelsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with typo

@@ -100,6 +103,41 @@ void testMain() {
// TODO(hterkelsen): https://github.com/flutter/flutter/issues/71520
});

test('will download Noto Sans JP if Japanease text is added in ja', () async {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Japanease -> Japanese

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry! I fixed. 3786aba

@harryterkelsen harryterkelsen added this pull request to the merge queue Jun 5, 2025
Merged via the queue into flutter:master with commit 2c9d898 Jun 5, 2025
178 checks passed
@koji-1009 koji-1009 deleted the fix/noto_sans_jp_mismatch branch June 5, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine flutter/engine repository. See also e: labels. platform-web Web applications specifically will affect goldens Changes to golden files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WEB]Japanese punctuation and reading marks are misplaced.
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.