Changeset 238 for trunk/src/gui/text
- Timestamp:
- Oct 16, 2009, 10:46:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/text/qfontdatabase_pm.cpp
r234 r238 296 296 cached.styleKey.weight = QFont::Black; 297 297 298 299 300 301 302 303 304 305 306 307 308 298 309 switch (os2_table->usWidthClass) { 299 310 case 1: cached.styleKey.stretch = QFont::UltraCondensed; break; … … 401 412 // 402 413 // @todo find a proper way to detect actual supported scripts to make 403 // sure these fonts are not matched for scripts they don't support 414 // sure these fonts are not matched for scripts they don't support. 415 // 416 // @todo remove the hack for "Workplace Sans" once it is corrected 404 417 for (int ws = 0; ws < QFontDatabase::WritingSystemsCount; ++ws) 405 418 family->writingSystems[ws] = QtFontFamily::Supported; … … 642 655 req.stretch = 100; 643 656 657 658 659 660 661 644 662 QFontCache::Key key(req, d->rawMode ? QUnicodeTables::Common : script, d->screen); 645 663 if (!d->engineData)
Note:
See TracChangeset
for help on using the changeset viewer.