Skip to main content

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.
  • 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 mongfontbuilder.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-39, eac-hud > XIM11-40, eac-hud > XIM11-41
    • The EAC spec assumes that all features of NNBSP should be disabled. The UTN model considers this test case incorrect. The UTN model considers that the old functionality of NNBSP should be retained.
  • 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-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.
  • eac-hud > MSM11-2, eac-hud > XIM11-16
    • The currently exported font does not yet account for shaping rules based on locale, resulting in these two tests failing. Future efforts will focus on resolving this issue to pass both tests.

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

mongfontbuilder-0.10.6.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mongfontbuilder-0.10.6-py3-none-any.whl (38.5 kB view details)

Uploaded Python 3

File details

Details for the file mongfontbuilder-0.10.6.tar.gz.

File metadata

  • Download URL: mongfontbuilder-0.10.6.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mongfontbuilder-0.10.6.tar.gz
Algorithm Hash digest
SHA256 aa3b9ab68d9fff56a55c031270a7dcfc39c29df0c0c313d7856335d42156191b
MD5 6f77a201b684e88ac52bb8d0e2da5621
BLAKE2b-256 9fc7e380cbcc3e0ebfa92f9eb1c1e8f80d6f81e3c4f5aa280350bc33c722fbcb

See more details on using hashes here.

Provenance

The following attestation bundles were made for mongfontbuilder-0.10.6.tar.gz:

Publisher: pypi.yml on Kushim-Jiang/mongfontbuilder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mongfontbuilder-0.10.6-py3-none-any.whl.

File metadata

File hashes

Hashes for mongfontbuilder-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7d9309f8861b0799d3e8571d9f6cb89f61e4ea593c2df2315a4d479c85f5cf29
MD5 0b27b0ff84be81c57892e963bfa0cfc7
BLAKE2b-256 3d2899e9849df821f8cfbecbcb9f39f13a33867ab95a0c6d2f2ccfb6f9d0b9b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mongfontbuilder-0.10.6-py3-none-any.whl:

Publisher: pypi.yml on Kushim-Jiang/mongfontbuilder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page