abrasion/third_party/cargo/vendor/ttf-parser-0.6.2/testing-tools/font-view
q3k 2938a31682 third_party: bump everything 2021-01-07 23:38:16 +00:00
..
README.md third_party: bump everything 2021-01-07 23:38:16 +00:00
font-view.pro third_party: bump everything 2021-01-07 23:38:16 +00:00
freetypefont.cpp third_party: bump everything 2021-01-07 23:38:16 +00:00
freetypefont.h third_party: bump everything 2021-01-07 23:38:16 +00:00
glyph.h third_party: bump everything 2021-01-07 23:38:16 +00:00
glyphsview.cpp third_party: bump everything 2021-01-07 23:38:16 +00:00
glyphsview.h third_party: bump everything 2021-01-07 23:38:16 +00:00
harfbuzzfont.cpp third_party: bump everything 2021-01-07 23:38:16 +00:00
harfbuzzfont.h third_party: bump everything 2021-01-07 23:38:16 +00:00
main.cpp third_party: bump everything 2021-01-07 23:38:16 +00:00
mainwindow.cpp third_party: bump everything 2021-01-07 23:38:16 +00:00
mainwindow.h third_party: bump everything 2021-01-07 23:38:16 +00:00
mainwindow.ui third_party: bump everything 2021-01-07 23:38:16 +00:00
ttfparserfont.cpp third_party: bump everything 2021-01-07 23:38:16 +00:00
ttfparserfont.h third_party: bump everything 2021-01-07 23:38:16 +00:00

README.md

font-view

A simple tool to preview all glyphs in the font using ttf-parser, freetype and harfbuzz.

Build

# 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 via cmake
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