https://github.com/mdlc01/unichar
A Typst package that ports part of the Unicode Character Database.
https://github.com/mdlc01/unichar
typst typst-package ucd unicode
Last synced: 11 months ago
JSON representation
A Typst package that ports part of the Unicode Character Database.
- Host: GitHub
- URL: https://github.com/mdlc01/unichar
- Owner: MDLC01
- License: mit
- Created: 2024-09-12T17:02:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T15:15:55.000Z (over 1 year ago)
- Last Synced: 2025-03-03T23:02:03.614Z (over 1 year ago)
- Topics: typst, typst-package, ucd, unicode
- Language: Python
- Homepage: https://typst.app/universe/package/unichar
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Unichar
This is a [Typst](https://github.com/typst/typst) package that ports part of the [Unicode Character Database](https://www.unicode.org/reports/tr44/) to Typst. Notably, it includes information from [UnicodeData.txt](https://unicode.org/reports/tr44/#UnicodeData.txt) and [Blocks.txt](https://unicode.org/reports/tr44/#Blocks.txt). It is available on [Typst Universe](https://typst.app/universe/package/unichar).
## 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/`](src/).
This project can be built into a proper Typst package by [`build.py`](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](https://typst.app/universe/package/unichar).
## License
The contents of this repository are licensed under the [MIT License](LICENSE). As per the [Unicode Terms of Use](https://www.unicode.org/copyright.html), the [Unicode License v3](https://www.unicode.org/license.txt) applies to the built Typst package.