Skip to content

style: Decode UTF8 data in FontTag within Debug impl - #382

Merged
mrobinson merged 1 commit into
servo:mainfrom
simonwuelker:font-tag-debug
Jun 5, 2026
Merged

mrobinson merged 1 commit into
servo:mainfrom
simonwuelker:font-tag-debug

Conversation

@simonwuelker

Copy link
Copy Markdown
Member

FontTag contains a 4 byte tag that is usually valid UTF8. For debugging purposes its more convenient to display it as a string instead of a raw u32.

Before: FontTag(1818847073)
After: FontTag("liga")

@simonwuelker

Copy link
Copy Markdown
Member Author

This can be merged now.

@mrobinson
mrobinson added this pull request to the merge queue Jun 5, 2026
Merged via the queue into servo:main with commit e06a7e6 Jun 5, 2026
5 checks passed
yezhizhen pushed a commit to yezhizhen/servo that referenced this pull request Jun 5, 2026
servo#45393)

Additionally, this bumps stylo to
servo/stylo#382. I can do that in a seperate PR
if preferred, but the change is so small that it doesn't feel like its
worth the effort.

Testing: New tests start to pass

---------

Signed-off-by: Simon Wülker <[email protected]>
lando-worker Bot pushed a commit to mozilla-firefox/firefox that referenced this pull request Jun 6, 2026
…x-style-system-reviewers,emilio

`FontTag` contains a 4 byte tag that is *usually* valid UTF8. For
debugging purposes its more convenient to display it as a string instead
of a raw `u32`.

Before: `FontTag(1818847073)`
After: `FontTag("liga")`

Imports servo/stylo#382

Differential Revision: https://phabricator.services.mozilla.com/D305016
github-actions Bot pushed a commit to longvatrong111/stylo that referenced this pull request Jun 7, 2026
…x-style-system-reviewers,emilio

`FontTag` contains a 4 byte tag that is *usually* valid UTF8. For
debugging purposes its more convenient to display it as a string instead
of a raw `u32`.

Before: `FontTag(1818847073)`
After: `FontTag("liga")`

Imports servo#382

Differential Revision: https://phabricator.services.mozilla.com/D305016
zerox80 pushed a commit to zerox80/firefox that referenced this pull request Oct 16, 2026
…x-style-system-reviewers,emilio

`FontTag` contains a 4 byte tag that is *usually* valid UTF8. For
debugging purposes its more convenient to display it as a string instead
of a raw `u32`.

Before: `FontTag(1818847073)`
After: `FontTag("liga")`

Imports servo/stylo#382

Differential Revision: https://phabricator.services.mozilla.com/D305016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants