Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
33
third-party/vendor/ttf-parser/testing-tools/font-view/README.md
vendored
Normal file
33
third-party/vendor/ttf-parser/testing-tools/font-view/README.md
vendored
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue