Mongolian Font Builder.
Project description
Mongolian Font Builder
The Mongolian Font Builder project consists of:
- Documentation and data files that clarify the encoding and shaping rules required for a font to be compatible with the Unicode Standard and China’s national standard GB/T 25914-2023.
- Stabilized versions of the documentation will be published as revisions of UTN #57, Encoding and Shaping of the Mongolian Script (the Mongolian UTN).
- Tooling, as a Python package
mongfontbuilder, that helps font designers and developers produce a standard-compatible Mongolian script font, as clarified by the documentation.- It also acts the reference implementation of the Mongolian UTN.
- Tests for validating fonts produced by the tooling.
Documentation and data files
The documentation is maintained in web/docs/ and deployed to mongolian-utn.pages.dev. For contribution guidelines, refer to CONTRIBUTING.md.
The source-of-truth data files are maintained as TypeScript files in data/. They’re exported to JSON in lib/mongfontbuilder/data/ for consumption of the Python API.
Tooling
The Python package mongfontbuilder is maintained in lib/ and published to PyPI. To install the package in terminal:
pip install mongfontbuilder
This package includes various utilities, including:
- Python API for the data files.
- Dynamic generation of OpenType Layout rules.
- Construction of a complete font from a minimal glyph set.
Tests
Maintained in tests/.
Currently the following EAC test cases are expected to fail:
eac-hud > XIM11-46- The EAC spec expects an invalid FVS after a letter to prevent the MVS shaping step. The UTN model disagrees.
eac-hud > XIM11-47eac-hud > XIM11-48eac-hud > XIM11-49- The current test font does not include the glyphs
one,two,three, andalatin.
- The current test font does not include the glyphs
eac-hud > XIM11-1012- When an FVS after a letter prevents the MVS shaping step, the MVS is treated as an NBSP. In this case, the FVS remains valid. The UTN model considers this test case incorrect.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mongfontbuilder-0.5.0.tar.gz.
File metadata
- Download URL: mongfontbuilder-0.5.0.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f42eddc13bf176b8dd83f7430f9fb0d76723437d054e3382d5016d86fa2d7c
|
|
| MD5 |
84142c3787ec41db288e531d1f94969e
|
|
| BLAKE2b-256 |
53ee5d67d108080ba4c4751391cfdc00c514e04f639515783b46b6ab7e54d649
|
Provenance
The following attestation bundles were made for mongfontbuilder-0.5.0.tar.gz:
Publisher:
pypi.yml on Kushim-Jiang/mongfontbuilder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mongfontbuilder-0.5.0.tar.gz -
Subject digest:
47f42eddc13bf176b8dd83f7430f9fb0d76723437d054e3382d5016d86fa2d7c - Sigstore transparency entry: 211077002
- Sigstore integration time:
-
Permalink:
Kushim-Jiang/mongfontbuilder@b8e5198d5262ff642b2c8e167a5165dfebad0ecf -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/Kushim-Jiang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b8e5198d5262ff642b2c8e167a5165dfebad0ecf -
Trigger Event:
release
-
Statement type:
File details
Details for the file mongfontbuilder-0.5.0-py3-none-any.whl.
File metadata
- Download URL: mongfontbuilder-0.5.0-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3c2c450500ffb33fec68ff68f2c728f88a8603fd8f2d83c351e78015089f1d9
|
|
| MD5 |
e75e64d4a9b8d1a6f200c58b45b52a2a
|
|
| BLAKE2b-256 |
748ee204d31ef2fc54143902485b8be307d852bcea1786e959eda22e6eeb77dd
|
Provenance
The following attestation bundles were made for mongfontbuilder-0.5.0-py3-none-any.whl:
Publisher:
pypi.yml on Kushim-Jiang/mongfontbuilder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mongfontbuilder-0.5.0-py3-none-any.whl -
Subject digest:
e3c2c450500ffb33fec68ff68f2c728f88a8603fd8f2d83c351e78015089f1d9 - Sigstore transparency entry: 211077004
- Sigstore integration time:
-
Permalink:
Kushim-Jiang/mongfontbuilder@b8e5198d5262ff642b2c8e167a5165dfebad0ecf -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/Kushim-Jiang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@b8e5198d5262ff642b2c8e167a5165dfebad0ecf -
Trigger Event:
release
-
Statement type: