tree: 0dfad611e441ad75e712cfc1ae262716d50db89c [path history] [tgz]
  1. font-view.pro
  2. freetypefont.cpp
  3. freetypefont.h
  4. glyph.h
  5. glyphsview.cpp
  6. glyphsview.h
  7. harfbuzzfont.cpp
  8. harfbuzzfont.h
  9. main.cpp
  10. mainwindow.cpp
  11. mainwindow.h
  12. mainwindow.ui
  13. README.md
  14. ttfparserfont.cpp
  15. ttfparserfont.h
third_party/rust_crates/tiny_mirrors/ttf-parser/testing-tools/font-view/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