Skip to content

Update the icu4x postcard data for CJ line segmenting#20

Merged
laurmaedje merged 2 commits into
typst:mainfrom
isuffix:upgrade-icu4x
Jun 4, 2026
Merged

Update the icu4x postcard data for CJ line segmenting#20
laurmaedje merged 2 commits into
typst:mainfrom
isuffix:upgrade-icu4x

Conversation

@isuffix

@isuffix isuffix commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

This updates the icu4x postcard data for CJ line segmenting to icu4x version 2.2.0.

This was done by porting the changes on the cj-patch branch of typst/icu4x from version 1.4 to version 2.2 and remaking the postcard data with the new binary. The port is available as the cj-patch-update branch on my fork, and this diff shows the changes from the 2.2 release commit.

The instructions in lib.rs explain how to generate the postcard data. I currently have this targeting my fork of icu4x, but can change it to typst/icu4x if we update it there.

I also removed the default postcard data, since version 2.2 makes it easier to embed all the other icu property data into the binary.

@laurmaedje
laurmaedje merged commit 38782c9 into typst:main Jun 4, 2026
2 checks passed
@isuffix
isuffix deleted the upgrade-icu4x branch June 4, 2026 18:14
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