/subset

Lightweight text layout library

Primary LanguageRustApache License 2.0Apache-2.0

subset

Subset is a lightweight text layout library.

Subset doesn't concern itself with full fledged text layout features such as line breaking, hyphenation etc. That kind of stuff needs to be handled elsewhere.

Development

You'll need Meson and Ninja to be able to develop and build the C/C++ code. Use your preferred package manager to install them.

Third party dependencies

You need to download some third party dependencies.

python3 ./tools/download_deps.py

Setup and build the C/C++ archives

You don't need to do this step when building the bindings below.

meson setup build
cd build
meson compile -v

Build and install the Python bindings

cd bindings/python
pip install .

Build the Rust bindings

You'll need Meson and Ninja to build the Rust bindings.

cd bindings/rust
cargo run --example bidi