[Kde-cygwin-cvs] CVS: qt-3/src/kernel qscriptengine_win.cpp,1.1.2.5,1.1.2.6
Status: Inactive
Brought to you by:
habacker
From: Christian E. <che...@us...> - 2005-09-23 13:25:02
|
Update of /cvsroot/kde-cygwin/qt-3/src/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13856/src/kernel Modified Files: Tag: QT_WIN32_3_3_BRANCH qscriptengine_win.cpp Log Message: Index: qscriptengine_win.cpp =================================================================== RCS file: /cvsroot/kde-cygwin/qt-3/src/kernel/Attic/qscriptengine_win.cpp,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -r1.1.2.5 -r1.1.2.6 --- qscriptengine_win.cpp 24 Sep 2004 13:07:02 -0000 1.1.2.5 +++ qscriptengine_win.cpp 23 Sep 2005 13:24:52 -0000 1.1.2.6 @@ -40,36 +40,6 @@ // ------------------------------------------------------------------------------------------------------------------ // #### stil missing: identify invalid character combinations -static void hebrew_shape( int script, const QString &string, int from, int len, - QTextEngine *engine, QScriptItem *si ) -{ - assert( script == QFont::Hebrew ); - -#ifndef QT_NO_XFTFREETYPE - - QOpenType *openType = si->fontEngine->openType(); - - if ( openType && openType->supportsScript( script ) ) { - convertToCMap( string.unicode() + from, len, engine, si ); - heuristicSetGlyphAttributes( string, from, len, engine, si ); - openType->init( engine->glyphs( si ), engine->glyphAttributes( si ), si->num_glyphs, - engine->logClusters( si ), len ); - - openType->applyGSUBFeature( FT_MAKE_TAG( 'c', 'c', 'm', 'p' ) ); - // Uniscribe also defines dlig for Hebrew, but we leave this out for now, as it's mostly - // ligatures one does not want in modern Hebrew (as lam-alef ligatures). - - openType->applyGPOSFeatures(); - si->num_glyphs = 0; - openType->appendTo( engine, si ); - - return ; - } -#endif - basic_shape( script, string, from, len, engine, si ); -} - -// #### stil missing: identify invalid character combinations static void syriac_shape( int script, const QString &string, int from, int len, QTextEngine *engine, QScriptItem *si ) { |