Skip to content
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

[web] Adds Noto Serif Tibetan fallback font. #52971

Merged
merged 2 commits into from
May 21, 2024

Conversation

ditman
Copy link
Member

@ditman ditman commented May 21, 2024

This PR adds the "Noto Serif Tibetan" fallback font to Flutter Web, so it can render Dzongkha, and other languages in Tibetan script.

(In order to add this fallback font, an automated script is run which updates the versions and glyphs of other fallback fonts at the same time)

(Bundle uploaded to CIPD)

Issues

Testing

  • Added unit test for font resolution with sample text
  • Manually, in localhost, using the sample Dzongkha test from the Noto site:
Screenshot 2024-05-21 at 2 01 19 PM
དེ་ཡང་ འཛམ་གླིང་ནང་གི་ཞི་བདེ་དང་དྲང་ཁྲིམས། དེ་ལས་དལ་དབང་ཚུ་གི་གཞི་འགྱམ་གཙོ་བོ་དེ་

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

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

@flutter-dashboard

This comment was marked as resolved.

@github-actions github-actions bot added the platform-web Code specifically for the web engine label May 21, 2024
Copy link
Contributor

@eyebrowsoffire eyebrowsoffire left a comment

Choose a reason for hiding this comment

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

LGTM!

@ditman
Copy link
Member Author

ditman commented May 21, 2024

Added test for this specific fallback font.

@ditman ditman added the autosubmit Merge PR when tree becomes green via auto submit App label May 21, 2024
@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.

Changes reported for pull request #52971 at sha 0c5fa7b

@auto-submit auto-submit bot merged commit e310320 into flutter:main May 21, 2024
36 checks passed
@ditman ditman deleted the web-add-tibetan-fallback-font branch May 21, 2024 22:30
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 22, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 22, 2024
…148819)

flutter/engine@c89defa...b6971cd

2024-05-22 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from HHwlAJN5imwf3yX4i... to gWBn6yPljFeQvPSYz... (flutter/engine#52975)
2024-05-22 bdero@google.com [Impeller] Round out subpass coverage. (flutter/engine#52973)
2024-05-22 skia-flutter-autoroll@skia.org Roll Skia from 968e971e438e to 78069713e02a (1 revision) (flutter/engine#52974)
2024-05-21 skia-flutter-autoroll@skia.org Roll Dart SDK from f0ac30bbc63e to fca7dd796e81 (1 revision) (flutter/engine#52972)
2024-05-21 ditman@gmail.com [web] Adds Noto Serif Tibetan fallback font. (flutter/engine#52971)
2024-05-21 magder@google.com Update file permissions for FlutterMacOS.framework bundle (flutter/engine#52961)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from HHwlAJN5imwf to gWBn6yPljFeQ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request May 31, 2024
…lutter#148819)

flutter/engine@c89defa...b6971cd

2024-05-22 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from HHwlAJN5imwf3yX4i... to gWBn6yPljFeQvPSYz... (flutter/engine#52975)
2024-05-22 bdero@google.com [Impeller] Round out subpass coverage. (flutter/engine#52973)
2024-05-22 skia-flutter-autoroll@skia.org Roll Skia from 968e971e438e to 78069713e02a (1 revision) (flutter/engine#52974)
2024-05-21 skia-flutter-autoroll@skia.org Roll Dart SDK from f0ac30bbc63e to fca7dd796e81 (1 revision) (flutter/engine#52972)
2024-05-21 ditman@gmail.com [web] Adds Noto Serif Tibetan fallback font. (flutter/engine#52971)
2024-05-21 magder@google.com Update file permissions for FlutterMacOS.framework bundle (flutter/engine#52961)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from HHwlAJN5imwf to gWBn6yPljFeQ

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-web Code specifically for the web engine will affect goldens
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Tibetan Script in CanvasKit/Skwasm
2 participants