Repository navigation
iOS Metal: draw glyphs larger than 256px instead of dropping them - #6396
Open
shai-almog wants to merge 10 commits into
Open
shai-almog wants to merge 10 commits into
shai-almog wants to merge 10 commits into
Conversation
) The glyph atlas refused any glyph whose bitmap exceeded 256px and DrawString silently skipped it, so a 20mm Material icon (360-400px on an iPhone) reserved its space and drew nothing. Oversized glyphs now get a texture of their own, owned by the slot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…est for large glyphs (#6393) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… raster cap Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d bbox before int conversion Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… status manifest change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Golden capture needs attentionTest iOS UI build scripts capture was cancelled; re-run Golden capture Whatever did arrive is committed; the next push captures only what is still missing. A test that cannot render on some port needs a Run at |
…ens capture it The first capture showed nothing of it on Android: drawn at the line top, the glyph's top lands ~500px down, past a small screen's bottom. The five goldens harvested from that capture are dropped to be recaptured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #6393.
The Metal glyph atlas refused any glyph whose bitmap passed 256px and
CN1MetalDrawStringskipped it silently, so a 20mm Material icon (360-400px on an iPhone) reserved its space and drew nothing.LargeGlyphScreenshotTestcovers both paths in fixed pixels: a 300px FontImage icon and a 1300px glyph drawn as text. No test drew text above 48px before, which is why nothing caught this.🤖 Generated with Claude Code