Skip to content

[pull] main from Shopify:main - #201

Merged
pull[bot] merged 2 commits into
code:mainfrom
Shopify:main
Jul 10, 2026
Merged

[pull] main from Shopify:main#201
pull[bot] merged 2 commits into
code:mainfrom
Shopify:main

Conversation

@pull

@pull pull Bot commented Jul 10, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…oxes (#3930)

Adds specs reproducing #3493: after layout,
Paragraph.getHeight()/getRectsForRange()/getLineMetrics() all report
heights derived from font metrics (ascent + descent), so 'Hello' and
'Typography' measure the same height, while Font.measureText returns
bounds tight to the actual glyphs but has no font fallback. Also covers
that Paragraph resolves CJK text through fallback fonts where the Font
API returns .notdef glyphs.

Also renders a paragraph using Roboto with Noto Sans SC as fallback and
strokes the rect reported by getRectsForRange for each glyph,
snapshotting the result as a PNG like the other paragraph test suites.
@pull pull Bot locked and limited conversation to collaborators Jul 10, 2026
@pull pull Bot added the ⤵️ pull label Jul 10, 2026
@pull
pull Bot merged commit 28df6fb into code:main Jul 10, 2026
7 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant