diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2010-09-03 15:49:33 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2010-09-10 15:51:56 +0200 |
commit | f2f6330d915cbe3d0989ad280738ed0a6954cd35 (patch) | |
tree | f92f2fd2ae59ef883a06d230d80763293c988903 /tests/auto/qglyphs | |
parent | 1e8e290fb5d9b0d059711b9e53ea588872a59c57 (diff) |
Fix Core Text font loading for certain Mac Fonts
Font names enumerated by Core Text cannot be found by
ATSFontFamilyFindFromName because ATS is expecting native names
instead of the names returned by Core Text. This patch get rid
of ATS font matching code in Cocoa code path to simplify the code,
avoid deprecation warnings (in the future) and fix this issue.
Task-number: QTBUG-11145
Reviewed-by: Eskil
Diffstat (limited to 'tests/auto/qglyphs')
-rw-r--r-- | tests/auto/qglyphs/tst_qglyphs.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/qglyphs/tst_qglyphs.cpp b/tests/auto/qglyphs/tst_qglyphs.cpp index b75e801295..da91063d87 100644 --- a/tests/auto/qglyphs/tst_qglyphs.cpp +++ b/tests/auto/qglyphs/tst_qglyphs.cpp @@ -347,10 +347,6 @@ void tst_QGlyphs::drawMultiScriptText1() void tst_QGlyphs::drawMultiScriptText2() { -#if defined(Q_WS_MAC) - QSKIP("Unstable because of QTBUG-11145", SkipAll); -#endif - QString text; text += QChar(0x0621); // Arabic, Hamza text += QChar(0x03D0); // Greek, beta @@ -530,10 +526,6 @@ void tst_QGlyphs::drawUnderlinedText() void tst_QGlyphs::drawRightToLeft() { -#if defined(Q_WS_MAC) - QSKIP("Unstable because of QTBUG-11145", SkipAll); -#endif - QString s; s.append(QChar(1575)); s.append(QChar(1578)); |