Skip to content

Files

Latest commit

1756fa5 · Sep 2, 2024

History

History
48 lines (33 loc) · 979 Bytes

README.md

File metadata and controls

48 lines (33 loc) · 979 Bytes

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.

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

If you're on a macOS and get linker errors try using:

LDFLAGS="-ld_classic" meson setup build

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