Skip to content

Honour subtags - #749

Open
taj-p wants to merge 1 commit into
mainfrom
tajp/honourSubtags
Open

Honour subtags#749
taj-p wants to merge 1 commit into
mainfrom
tajp/honourSubtags

Conversation

@taj-p

@taj-p taj-p commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

LLM Contributions: Regression testing, CI changes (GPT 5.5 Sol).

Fixes #748.

I didn't know how to regression test this properly because I don't speak these languages unfortunately :(. I asked GPT how to test this and it produced the below. I'm happy to remove the tests if we want and make this a 1 line PR, but I thought the pattern of crafting a font file for the purposes of testing was nice.

Before After
Subtag not honoured Subtag honoured
before after

Changelog

Fixed

  • Honours script and region sub tags for correct shaping of, for example, zh-Hans and zh-Hant.

@taj-p

taj-p commented Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

If someone approves, please merge yourself. If you cLGTM with tests removed, I'll remove tests and then merge.

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.

Shaping drops script/region subtags, so zh-Hans and zh-Hant select the same OpenType langsys

1 participant