summaryrefslogtreecommitdiffstats
path: root/khtml/rendering/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/rendering/font.cpp')
-rw-r--r--khtml/rendering/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/rendering/font.cpp b/khtml/rendering/font.cpp
index 766c89840..a33f0e082 100644
--- a/khtml/rendering/font.cpp
+++ b/khtml/rendering/font.cpp
@@ -293,7 +293,7 @@ int Font::width( TQChar *chs, int, int pos, int len, int start, int end, int toA
const TQString qstr = cstr.string();
if ( scFont ) {
const TQString upper = qstr.upper();
- const TQChar *uc = qstr.tqunicode();
+ const TQChar *uc = qstr.unicode();
const TQFontMetrics sc_fm( *scFont );
for ( int i = 0; i < len; ++i ) {
if ( (uc+i)->category() == TQChar::Letter_Lowercase )
@@ -407,7 +407,7 @@ bool Font::isFontScalable(TQFontDatabase& db, const TQFont& font)
/* Cache size info */
if (!scalSizesCache)
scalSizesCache = new TQMap<ScalKey, TQValueList<int> >;
- (*scalSizesCache)[key] = db.tqsmoothSizes(font.family(), db.styleString(font));
+ (*scalSizesCache)[key] = db.smoothSizes(font.family(), db.styleString(font));
}
}