/unichar

A Typst package that ports part of the Unicode Character Database.

Primary LanguagePythonMIT LicenseMIT

Unichar

This is a Typst package that ports part of the Unicode Character Database to Typst. Notably, it includes information from UnicodeData.txt and Blocks.txt. It is available on Typst Universe.

Project structure

This project mainly consists of a Python script that downloads the necessary files from the Unicode Character Database and generates corresponding Typst files.

A small interface written in Typst lets the user access the data conveniently. It is available in src/.

This project can be built into a proper Typst package by build.py. This build script was made for Python 3.12, and does not require anything outside of the standard library.

Usage

For more information on how to use this package, take a look at the rendered README on Typst Universe.

License

The contents of this repository are licensed under the MIT License. As per the Unicode Terms of Use, the Unicode License v3 applies to the built Typst package.