You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’d like to suggest adding ArabicShaping.txt to the package. This resource is essential for implementing Arabic text support in conjunction with an implementation of the Unicode Bidirectional Algorithm such as bidi-js. For example, this would enable maplibre/maplibre-gl-js#8343 to continue depending on this package instead of rolling its own UCD downloader.
As far as I can tell, this would be a matter of adding an entry to the list of resources, then implementing a parse-*.mjs file that parses each line of the downloaded file into an object.
This will add some heft to the package, but #99 (comment) notes that there’s plenty of additional space for new tables these days.
Activity
feat: add ArabicShaping table (`Joining_Type`) (#102)
HarelM commentedon Sep 9, 2026
Oh, wow, that was fast. thanks!
I'll post a new issue with all the relevant data I need from this package in order to fully automate some of the hard coded stuff we currently do in our code generation unicode related script here:
https://github.com/maplibre/maplibre-gl-js/blob/54dfab1e186e72fc43bc319cab97c5427f80a0f3/build/generate-unicode-data.ts
I'm trying to remove all the hard coded list from there and only use stuff that are in this package.
mathiasbynens commentedon Sep 9, 2026
Thanks to @FekyBaz’s patch, this is now available in
v2.0.4of the published packages.Please do! This is exactly the kind of use case
node-unicode-datawas created for.HarelM commentedon Sep 9, 2026
I filled the following issue:
Let me know if it makes sense...