Changeset 13545 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Oct 23, 2008 5:53:24 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 38402
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/main.cpp
r13537 r13545 241 241 242 242 #ifdef Q_WS_X11 243 /* This patch is not used for now on Solaris & OpenSolaris because 244 * there is no anti-aliasing enabled by default, Qt4 to be rebuilt. */ 245 #ifndef Q_OS_SOLARIS 243 246 /* Cause Qt4 has the conflict with fontconfig application as a result 244 247 * sometimes substituting some fonts with non scaleable-anti-aliased … … 249 252 QString currentFamily (QApplication::font().family()); 250 253 bool isCurrentScaleable = fontDataBase.isScalable (currentFamily); 251 printf ("Font: Current family is '%s'. It is %s.\n", 254 255 /* 256 LogFlowFunc (("Font: Current family is '%s'. It is %s.\n", 252 257 currentFamily.toLatin1().constData(), 253 isCurrentScaleable ? "scalable" : "not scalable"); 254 258 isCurrentScaleable ? "scalable" : "not scalable")); 255 259 QStringList subFamilies (QFont::substitutes (currentFamily)); 256 260 foreach (QString sub, subFamilies) 257 261 { 258 262 bool isSubScalable = fontDataBase.isScalable (sub); 259 printf("Font: Substitute family is '%s'. It is %s.\n",263 LogFlowFunc (("Font: Substitute family is '%s'. It is %s.\n", 260 264 sub.toLatin1().constData(), 261 isSubScalable ? "scalable" : "not scalable") ;265 isSubScalable ? "scalable" : "not scalable")); 262 266 } 267 */ 263 268 264 269 QString subFamily (QFont::substitute (currentFamily)); 265 270 bool isSubScaleable = fontDataBase.isScalable (subFamily); 271 266 272 if (isCurrentScaleable && !isSubScaleable) 267 273 QFont::removeSubstitution (currentFamily); 274 #endif /* Q_OS_SOLARIS */ 268 275 #endif 269 276
Note:
See TracChangeset
for help on using the changeset viewer.