6160ea45b6
Similar to the font-features-settings in CSS, this is a low-level API that allows you to pass the information to the shaper in order to enable or disable specific font features by name. [ChangeLog][QtGui][Text] Added an API to QFont which makes it possible to enable and disable specific typographic features in OpenType fonts. Change-Id: Ib48c678f3b97a5a562b08ae34dc895800c8885c0 Reviewed-by: Lars Knoll <lars@knoll.priv.no>
18 lines
596 B
Prolog
18 lines
596 B
Prolog
TEMPLATE = app
|
|
TARGET = fontfeatures
|
|
INCLUDEPATH += .
|
|
QT += widgets
|
|
|
|
# You can make your code fail to compile if you use deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
# Please consult the documentation of the deprecated API in order to know
|
|
# how to port your code away from it.
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_UP_TO=0x060000 # disables all APIs deprecated in Qt 6.0.0 and earlier
|
|
|
|
# Input
|
|
HEADERS += mainwindow.h
|
|
FORMS += mainwindow.ui
|
|
SOURCES += main.cpp \
|
|
mainwindow.cpp \
|