Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
50
third-party/vendor/ttf-parser/testing-tools/font-view/font-view.pro
vendored
Normal file
50
third-party/vendor/ttf-parser/testing-tools/font-view/font-view.pro
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
QT += widgets
|
||||
|
||||
CONFIG += c++14
|
||||
|
||||
CONFIG(release, debug|release): LIBS += -L$$PWD/../../c-api/target/release/ -lttfparser
|
||||
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../c-api/target/debug/ -lttfparser
|
||||
|
||||
INCLUDEPATH += $$PWD/../../c-api
|
||||
DEPENDPATH += $$PWD/../../c-api
|
||||
|
||||
SOURCES += \
|
||||
glyphsview.cpp \
|
||||
main.cpp \
|
||||
mainwindow.cpp \
|
||||
ttfparserfont.cpp
|
||||
|
||||
HEADERS += \
|
||||
glyph.h \
|
||||
glyphsview.h \
|
||||
mainwindow.h \
|
||||
ttfparserfont.h
|
||||
|
||||
FORMS += \
|
||||
mainwindow.ui
|
||||
|
||||
macx {
|
||||
QT_CONFIG -= no-pkg-config
|
||||
PKG_CONFIG = /opt/homebrew/bin/pkg-config
|
||||
}
|
||||
|
||||
# qmake DEFINES+=WITH_FREETYPE
|
||||
contains(DEFINES, WITH_FREETYPE) {
|
||||
SOURCES += freetypefont.cpp
|
||||
HEADERS += freetypefont.h
|
||||
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += freetype2
|
||||
}
|
||||
|
||||
# qmake DEFINES+=WITH_HARFBUZZ HARFBUZZ_SRC=/path/to/harfbuzz-master/
|
||||
contains(DEFINES, WITH_HARFBUZZ) {
|
||||
DEFINES += HB_EXPERIMENTAL_API
|
||||
|
||||
SOURCES += harfbuzzfont.cpp
|
||||
HEADERS += harfbuzzfont.h
|
||||
|
||||
# harfbuzz should be built with meson
|
||||
LIBS += -L$$HARFBUZZ_SRC/builddir/src/ -lharfbuzz
|
||||
INCLUDEPATH += $$HARFBUZZ_SRC/src
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue