Compile in C++0x mode
Change-Id: If97bdd94a51756e48167990a4014ba1059d0a507 Reviewed-on: http://codereview.qt-project.org/5026 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
parent
884251cdc1
commit
a13b17e42a
@ -368,11 +368,15 @@ QStringList QBasicUnixFontDatabase::addTTFile(const QByteArray &fontData, const
|
|||||||
TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2);
|
TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2);
|
||||||
if (os2) {
|
if (os2) {
|
||||||
quint32 unicodeRange[4] = {
|
quint32 unicodeRange[4] = {
|
||||||
os2->ulUnicodeRange1, os2->ulUnicodeRange2, os2->ulUnicodeRange3, os2->ulUnicodeRange4
|
quint32(os2->ulUnicodeRange1),
|
||||||
};
|
quint32(os2->ulUnicodeRange2),
|
||||||
|
quint32(os2->ulUnicodeRange3),
|
||||||
|
quint32(os2->ulUnicodeRange4)
|
||||||
|
};
|
||||||
quint32 codePageRange[2] = {
|
quint32 codePageRange[2] = {
|
||||||
os2->ulCodePageRange1, os2->ulCodePageRange2
|
quint32(os2->ulCodePageRange1),
|
||||||
};
|
quint32(os2->ulCodePageRange2)
|
||||||
|
};
|
||||||
|
|
||||||
writingSystems = determineWritingSystemsFromTrueTypeBits(unicodeRange, codePageRange);
|
writingSystems = determineWritingSystemsFromTrueTypeBits(unicodeRange, codePageRange);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user