src/gui/text/qfont.cpp
changeset 30 5dc02b23752f
parent 25 e24348a560a6
child 33 3e2da88830cd
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    71 #include <qfile.h>
    71 #include <qfile.h>
    72 #include "qfontengine_qpf_p.h"
    72 #include "qfontengine_qpf_p.h"
    73 #endif
    73 #endif
    74 #endif
    74 #endif
    75 #ifdef Q_OS_SYMBIAN
    75 #ifdef Q_OS_SYMBIAN
    76 #include "qt_s60_p.h"
    76 #include <private/qt_s60_p.h>
    77 #endif
    77 #endif
    78 
    78 
    79 #include <QMutexLocker>
    79 #include <QMutexLocker>
    80 
    80 
    81 // #define QFONTCACHE_DEBUG
    81 // #define QFONTCACHE_DEBUG
  1287     \value ForceOutline forces the use of outline fonts.
  1287     \value ForceOutline forces the use of outline fonts.
  1288     \value NoAntialias don't antialias the fonts.
  1288     \value NoAntialias don't antialias the fonts.
  1289     \value PreferAntialias antialias if possible.
  1289     \value PreferAntialias antialias if possible.
  1290     \value OpenGLCompatible forces the use of OpenGL compatible
  1290     \value OpenGLCompatible forces the use of OpenGL compatible
  1291            fonts.
  1291            fonts.
  1292     \value NoFontMerging If a font does not contain a character requested
  1292     \value NoFontMerging If the font selected for a certain writing system
  1293            to draw then Qt automatically chooses a similar looking for that contains
  1293            does not contain a character requested to draw, then Qt automatically chooses a similar
  1294            the character. This flag disables this feature.
  1294            looking font that contains the character. The NoFontMerging flag disables this feature.
       
  1295            Please note that enabling this flag will not prevent Qt from automatically picking a
       
  1296            suitable font when the selected font does not support the writing system of the text.
  1295 
  1297 
  1296     Any of these may be OR-ed with one of these flags:
  1298     Any of these may be OR-ed with one of these flags:
  1297 
  1299 
  1298     \value PreferMatch prefer an exact match. The font matcher will try to
  1300     \value PreferMatch prefer an exact match. The font matcher will try to
  1299            use the exact font size that has been specified.
  1301            use the exact font size that has been specified.
  1300     \value PreferQuality prefer the best quality font. The font matcher
  1302     \value PreferQuality prefer the best quality font. The font matcher
  1301            will use the nearest standard point size that the font
  1303            will use the nearest standard point size that the font
  1302            supports.
  1304            supports.
       
  1305     \value ForceIntegerMetrics forces the use of integer values in font engines that support fractional
       
  1306            font metrics.
  1303 */
  1307 */
  1304 
  1308 
  1305 /*!
  1309 /*!
  1306     Sets the style hint and strategy to \a hint and \a strategy,
  1310     Sets the style hint and strategy to \a hint and \a strategy,
  1307     respectively.
  1311     respectively.