Changeset 846 for trunk/src/gui/text/qfontengine_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/text/qfontengine_p.h
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 159 159 virtual QFixed emSquareSize() const { return ascent(); } 160 160 161 /* returns 0 as glyph index for non exist ant glyphs */161 /* returns 0 as glyph index for non existent glyphs */ 162 162 virtual bool stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags) const = 0; 163 163 … … 181 181 /** 182 182 * Create a qimage with the alpha values for the glyph. 183 * Returns an image indexed_8 with index values ranging from 0=fully transpar ant to 255=opaque183 * Returns an image indexed_8 with index values ranging from 0=fully transparent to 255=opaque 184 184 */ 185 185 virtual QImage alphaMapForGlyph(glyph_t); … … 227 227 static const uchar *getCMap(const uchar *table, uint tableSize, bool *isSymbolFont, int *cmapSize); 228 228 static quint32 getTrueTypeGlyphIndex(const uchar *cmap, uint unicode); 229 230 static QByteArray convertToPostscriptFontFamilyName(const QByteArray &fontFamily); 229 231 230 232 QAtomicInt ref; … … 254 256 protected: 255 257 static const QVector<QRgb> &grayPalette(); 258 QFixed lastRightBearing(const QGlyphLayout &glyphs, bool round = false); 256 259 257 260 private: … … 463 466 QCoreTextFontEngineMulti *parentEngine; 464 467 int synthesisFlags; 468 CGAffineTransform transform; 465 469 friend class QCoreTextFontEngineMulti; 466 470 }; … … 494 498 CTFontRef ctfont; 495 499 mutable QCFType<CFMutableDictionaryRef> attributeDict; 496 500 CGAffineTransform transform; 497 501 friend class QFontDialogPrivate; 498 502 };
Note:
See TracChangeset
for help on using the changeset viewer.