Skip to content

chrsan/subset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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