Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
README.md | H A D | 18-May-2020 | 603 | 28 | 20 | |
font-view.pro | H A D | 18-May-2020 | 975 | 44 | 33 | |
freetypefont.cpp | H A D | 18-May-2020 | 4.3 KiB | 176 | 141 | |
freetypefont.h | H A D | 18-May-2020 | 602 | 33 | 23 | |
glyph.h | H A D | 18-May-2020 | 672 | 49 | 40 | |
glyphsview.cpp | H A D | 18-May-2020 | 7.1 KiB | 287 | 229 | |
glyphsview.h | H A D | 18-May-2020 | 1.4 KiB | 62 | 48 | |
harfbuzzfont.cpp | H A D | 18-May-2020 | 3.8 KiB | 161 | 126 | |
harfbuzzfont.h | H A D | 18-May-2020 | 589 | 35 | 24 | |
main.cpp | H A D | 18-May-2020 | 174 | 14 | 9 | |
mainwindow.cpp | H A D | 18-May-2020 | 3.7 KiB | 163 | 128 | |
mainwindow.h | H A D | 18-May-2020 | 1,005 | 55 | 42 | |
mainwindow.ui | H A D | 18-May-2020 | 4.1 KiB | 157 | 156 | |
ttfparserfont.cpp | H A D | 18-May-2020 | 3.8 KiB | 166 | 133 | |
ttfparserfont.h | H A D | 18-May-2020 | 652 | 35 | 23 |
README.md
1# font-view 2 3A simple tool to preview all glyphs in the font using `ttf-parser`, `freetype` and `harfbuzz`. 4 5## Build 6 7```sh 8# build ttf-parser C API first 9cargo build --release --manifest-path ../../c-api/Cargo.toml 10 11# build only with ttf-parser support 12qmake 13make 14 15# or build with freetype support 16qmake DEFINES+=WITH_FREETYPE 17make 18 19# or build with harfbuzz support 20# note that harfbuzz should be built via cmake 21qmake DEFINES+=WITH_HARFBUZZ HARFBUZZ_SRC=/path/to/harfbuzz-master/ 22make 23 24# or with all 25qmake DEFINES+=WITH_FREETYPE DEFINES+=WITH_HARFBUZZ HARFBUZZ_SRC=/path/to/harfbuzz-master/ 26make 27``` 28