Add some QRawFont related low level functions to avoid extra copying
authorJiang Jiang <jiang.jiang@nokia.com>
Tue, 10 May 2011 11:30:33 +0000 (13:30 +0200)
committerJiang Jiang <jiang.jiang@nokia.com>
Wed, 11 May 2011 13:26:34 +0000 (15:26 +0200)
commit3032ba0f8eae871db2f36443f26a7977b5261740
tree43e0480a6c71286b11e4f3aa25294b8cb25c6480
parentdf4d7f18111420d05276312627c64c82c334e2a6
Add some QRawFont related low level functions to avoid extra copying

Added functions:

- QRawFont::glyphIndexesForChars(const QChar *chars, int numChars,
  quint32 *glyphIndexes, int *numGlyphs) const
- QRawFont::advancesForGlyphIndexes(const quint32 *glyphIndexes,
  QPointF *advances, int numGlyphs) const

Reviewed-by: Eskil
(cherry picked from commit 965af9eb2932efae5d736df54c3859460017b6a5)
src/gui/text/qrawfont.cpp
src/gui/text/qrawfont.h