Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Add all requested glyphs if TypographerContextSkia needs to create a new atlas #54912

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

jason-simmons
Copy link
Member

TypographerContextSkia::CreateGlyphAtlas calculates the set of requested glyphs that are not already in the current atlas and then tries to add those glyphs to that atlas. But if that is not possible and a new atlas must be allocated, then CreateGlyphAtlas must populate the new atlas with every glyph.

Fixes flutter/flutter#153392

…o create a new atlas

TypographerContextSkia::CreateGlyphAtlas calculates the set of requested
glyphs that are not already in the current atlas and then tries to add those
glyphs to that atlas.  But if that is not possible and a new atlas must be
allocated, then CreateGlyphAtlas must populate the new atlas with every glyph.

Fixes flutter/flutter#153392
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@jason-simmons jason-simmons added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 3, 2024
@auto-submit auto-submit bot merged commit 709ec9a into flutter:main Sep 3, 2024
30 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 3, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 3, 2024
…154583)

flutter/engine@e042202...1e74e9a

2024-09-03 [email protected] [ios][platform_view] fix platform view clipping path intersection (flutter/engine#54820)
2024-09-03 [email protected] [Impeller] Add all requested glyphs if TypographerContextSkia needs to create a new atlas (flutter/engine#54912)

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 [email protected],[email protected],[email protected] 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Impeller] Scroll on CupertinoPicker on iOS leads to error: could not find font/glyph position in the atlas
2 participants