Skip to content

Remove private codes from Script::from_iso15924_tag - #458

Merged
behdad merged 1 commit into
harfbuzz:mainfrom
robertbastian:patch-1
Aug 31, 2026
Merged

Remove private codes from Script::from_iso15924_tag#458
behdad merged 1 commit into
harfbuzz:mainfrom
robertbastian:patch-1

Conversation

@robertbastian

Copy link
Copy Markdown
Contributor

These private codes should not be used in interchange, which is what that constructor is.

@behdad

behdad commented Aug 27, 2026

Copy link
Copy Markdown
Member

What's the rationale? I know these are dated, but if removing we should also remove in HarfBuzz.

@robertbastian

Copy link
Copy Markdown
Contributor Author

Qaai has not been returned by ICU since Unicode 5.2 (2009), Qaac not since at least Unicode 4.1 (2005). At some point these ICU-private tags should be removed from downstream code.

@behdad
behdad merged commit 126bf36 into harfbuzz:main Aug 31, 2026
3 checks passed
@behdad

behdad commented Aug 31, 2026

Copy link
Copy Markdown
Member

Thanks. Fixed in HarfBuzz as well.

@robertbastian
robertbastian deleted the patch-1 branch August 31, 2026 17:34
behdad added a commit to harfbuzz/harfbuzz that referenced this pull request Aug 31, 2026
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.

2 participants