Vendor things

This commit is contained in:
John Doty 2024-03-08 11:03:01 -08:00
parent 5deceec006
commit 977e3c17e5
19434 changed files with 10682014 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# font-view
A simple tool to preview all glyphs in the font using `ttf-parser`, `freetype` and `harfbuzz`.
## Build
```sh
# build ttf-parser C API first
cargo build --release --manifest-path ../../c-api/Cargo.toml
# build only with ttf-parser support
qmake
make
# or build with freetype support
qmake DEFINES+=WITH_FREETYPE
make
# or build with harfbuzz support
# note that harfbuzz should be built from sources using meson,
# because we're using an unstable API
#
# build harfbuzz first
meson builddir -Dexperimental_api=true --buildtype release
ninja -C builddir
# build font-view
qmake DEFINES+=WITH_HARFBUZZ HARFBUZZ_SRC=/path/to/harfbuzz-master/
make
# or with all
qmake DEFINES+=WITH_FREETYPE DEFINES+=WITH_HARFBUZZ HARFBUZZ_SRC=/path/to/harfbuzz-master/
make
```