diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqfontengine_x11.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqfontengine_x11.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqfontengine_x11.cpp b/tqtinterface/qt4/src/kernel/tqfontengine_x11.cpp index 8d76e0b..02cf60c 100644 --- a/tqtinterface/qt4/src/kernel/tqfontengine_x11.cpp +++ b/tqtinterface/qt4/src/kernel/tqfontengine_x11.cpp @@ -653,7 +653,7 @@ void TQFontEngineXLFD::draw( TQPainter *p, int x, int y, const TQTextEngine *eng } matrix += ']'; //qDebug("m: %2.2f %2.2f %2.2f %2.2f, matrix=%s", p->m11(), p->m12(), p->m21(), p->m22(), matrix.data()); - xlfd_transformed.tqreplace( pos, endPos-pos, matrix ); + xlfd_transformed.replace( pos, endPos-pos, matrix ); x_font_load_error = FALSE; XErrorHandler old_handler = XSetErrorHandler( x_font_errorhandler ); @@ -1016,7 +1016,7 @@ TQFontEngineLatinXLFD::~TQFontEngineLatinXLFD() _engines = 0; } -void TQFontEngineLatinXLFD::tqfindEngine( const TQChar &ch ) +void TQFontEngineLatinXLFD::findEngine( const TQChar &ch ) { if ( ch.tqunicode() == 0 ) return; @@ -1061,10 +1061,10 @@ void TQFontEngineLatinXLFD::tqfindEngine( const TQChar &ch ) const int enc_id = qt_xlfd_encoding_id( alternate_encodings[which] ); TQFontDef req = fontDef; - TQFontEngine *engine = TQFontDatabase::tqfindFont( TQFont::Latin, 0, req, enc_id ); + TQFontEngine *engine = TQFontDatabase::findFont( TQFont::Latin, 0, req, enc_id ); if ( ! engine ) { req.family = TQString::null; - engine = TQFontDatabase::tqfindFont( TQFont::Latin, 0, req, enc_id ); + engine = TQFontDatabase::findFont( TQFont::Latin, 0, req, enc_id ); if ( ! engine ) return; } engine->setScale( scale() ); @@ -1188,7 +1188,7 @@ TQFontEngineLatinXLFD::stringToCMap( const TQChar *str, int len, glyph_t *glyphs continue; TQFontEngineLatinXLFD *that = (TQFontEngineLatinXLFD *) this; - that->tqfindEngine( str[i] ); + that->findEngine( str[i] ); glyphs[i] = (uc == 0x20ac ? euroIndex : that->glyphIndices[uc]); if ( advances ) advances[i] = (uc == 0x20ac ? euroAdvance : glyphAdvances[uc]); @@ -1414,7 +1414,7 @@ bool TQFontEngineLatinXLFD::canRender( const TQChar *string, int len ) if (euroIndex) continue; - tqfindEngine(string[i]); + findEngine(string[i]); if (euroIndex) continue; } @@ -1423,7 +1423,7 @@ bool TQFontEngineLatinXLFD::canRender( const TQChar *string, int len ) } if ( glyphIndices[string[i].tqunicode()] != 0 ) continue; - tqfindEngine( string[i] ); + findEngine( string[i] ); if ( glyphIndices[string[i].tqunicode()] == 0 ) { all = FALSE; break; @@ -2334,7 +2334,7 @@ static const OTScripts ot_scripts [] = { // Malayalam, { FT_MAKE_TAG( 'm', 'l', 'y', 'm' ), 1 }, // Sinhala, - // ### could not tqfind any OT specs on this + // ### could not find any OT specs on this { FT_MAKE_TAG( 's', 'i', 'n', 'h' ), 1 }, // Thai, { FT_MAKE_TAG( 't', 'h', 'a', 'i' ), 1 }, @@ -2497,7 +2497,7 @@ void TQOpenType::selectScript(unsigned int script, const Features *features) return; assert(script < TQFont::NScripts); - // tqfind script in our list of supported scripts. + // find script in our list of supported scripts. uint tag = ot_scripts[script].tag; if (gsub && features) { |