Home
last modified time | relevance | path

Searched refs:textmetric (Results 1 – 25 of 54) sorted by relevance

123

/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
H A Dqwindowsfontdatabase.cpp1026 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
1039 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
1040 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
1041 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
1042 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
1043 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
1045 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
1142 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
1156 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
1164 addFontToDatabase(familyName, styleName, *logFont, textmetric, signature, type, sfp); in storeFont()
[all …]
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/print/qt5-printsupport/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/graphics/qt5-opengl/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/
H A Dqwindowsfontdatabase_ft.cpp174 const TEXTMETRIC *textmetric, in addFontToDatabase() argument
186 const bool fixed = !(textmetric->tmPitchAndFamily & TMPF_FIXED_PITCH); in addFontToDatabase()
187 const bool ttf = (textmetric->tmPitchAndFamily & TMPF_TRUETYPE); in addFontToDatabase()
188 const bool scalable = textmetric->tmPitchAndFamily & (TMPF_VECTOR|TMPF_TRUETYPE); in addFontToDatabase()
189 const int size = scalable ? SMOOTH_SCALABLE : textmetric->tmHeight; in addFontToDatabase()
190 const QFont::Style style = textmetric->tmItalic ? QFont::StyleItalic : QFont::StyleNormal; in addFontToDatabase()
192 const QFont::Weight weight = QPlatformFontDatabase::weightFromInteger(textmetric->tmWeight); in addFontToDatabase()
307 static int QT_WIN_CALLBACK storeFont(const LOGFONT *logFont, const TEXTMETRIC *textmetric, in storeFont() argument
320 signature = &reinterpret_cast<const NEWTEXTMETRICEX *>(textmetric)->ntmFontSig; in storeFont()
329 addFontToDatabase(faceName, styleName, fullName, *logFont, textmetric, signature, type); in storeFont()
[all …]
/dports/math/reduce/Reduce-svn5758-src/psl/dist/kernel/win32/windows-gui/ver1/
H A Dwinsysdp.c133 TEXTMETRIC textmetric; in newfont() local
157 GetTextMetrics(hDC, &textmetric); in newfont()
162 cHeight = textmetric.tmHeight - cLead; in newfont()
164 cWidth = textmetric.tmMaxCharWidth; in newfont()
182 GetTextMetrics(hDC, &textmetric); in newfont()
185 cHeight = textmetric.tmHeight - cLead; in newfont()
186 cWidth = textmetric.tmMaxCharWidth; in newfont()
195 GetTextMetrics(hDC, &textmetric); in newfont()
204 GetTextMetrics(hDC, &textmetric); in newfont()
206 font_height[1] = textmetric.tmHeight - cLead; in newfont()
[all …]
/dports/math/reduce/Reduce-svn5758-src/psl/dist/kernel/win32/windows-gui/save/
H A Dwinsysdp.c133 TEXTMETRIC textmetric; in newfont() local
157 GetTextMetrics(hDC, &textmetric); in newfont()
162 cHeight = textmetric.tmHeight - cLead; in newfont()
164 cWidth = textmetric.tmMaxCharWidth; in newfont()
182 GetTextMetrics(hDC, &textmetric); in newfont()
185 cHeight = textmetric.tmHeight - cLead; in newfont()
186 cWidth = textmetric.tmMaxCharWidth; in newfont()
195 GetTextMetrics(hDC, &textmetric); in newfont()
204 GetTextMetrics(hDC, &textmetric); in newfont()
206 font_height[1] = textmetric.tmHeight - cLead; in newfont()
[all …]
/dports/math/reduce/Reduce-svn5758-src/psl/dist/kernel/win32/windows-gui/
H A Dwinsysdp.c144 TEXTMETRIC textmetric; in newfont() local
169 GetTextMetrics(hDC, &textmetric); in newfont()
174 cHeight = textmetric.tmHeight - cLead; in newfont()
176 cWidth = textmetric.tmMaxCharWidth; in newfont()
194 GetTextMetrics(hDC, &textmetric); in newfont()
197 cHeight = textmetric.tmHeight - cLead; in newfont()
198 cWidth = textmetric.tmMaxCharWidth; in newfont()
221 GetTextMetrics(hDC, &textmetric); in newfont()
230 GetTextMetrics(hDC, &textmetric); in newfont()
232 font_height[1] = textmetric.tmHeight - cLead; in newfont()
[all …]
H A Dwinsysdp.old130 TEXTMETRIC textmetric;
154 GetTextMetrics(hDC, &textmetric);
159 cHeight = textmetric.tmHeight - cLead;
161 cWidth = textmetric.tmMaxCharWidth;
179 GetTextMetrics(hDC, &textmetric);
182 cHeight = textmetric.tmHeight - cLead;
183 cWidth = textmetric.tmMaxCharWidth;
192 GetTextMetrics(hDC, &textmetric);
201 GetTextMetrics(hDC, &textmetric);
203 font_height[1] = textmetric.tmHeight - cLead;
[all …]
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/win32/
H A Dgdkfont-win32.c1169 TEXTMETRIC textmetric; in gdk_font_from_one_singlefont() local
1184 GetTextMetrics (_gdk_display_hdc, &textmetric); in gdk_font_from_one_singlefont()
1186 font->ascent = textmetric.tmAscent; in gdk_font_from_one_singlefont()
1187 font->descent = textmetric.tmDescent; in gdk_font_from_one_singlefont()
1203 TEXTMETRIC textmetric; in gdk_font_load_for_display() local
1227 GetTextMetrics (_gdk_display_hdc, &textmetric); in gdk_font_load_for_display()
1229 font->ascent = textmetric.tmAscent; in gdk_font_load_for_display()
1230 font->descent = textmetric.tmDescent; in gdk_font_load_for_display()
1279 TEXTMETRIC textmetric; in gdk_fontset_load() local
1321 GetTextMetrics (_gdk_display_hdc, &textmetric); in gdk_fontset_load()
[all …]

123