summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-09-13 11:16:35 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2011-09-13 11:16:35 (GMT)
commite453fce2731069dce993a94b0c2291307cc7806c (patch)
tree6b5b35f0faf8defe51a16a583784a5d37b7e0b83
parenta193c14a01653d07d895d6305d9514310b8e3eba (diff)
downloadQt-e453fce2731069dce993a94b0c2291307cc7806c.zip
Qt-e453fce2731069dce993a94b0c2291307cc7806c.tar.gz
Qt-e453fce2731069dce993a94b0c2291307cc7806c.tar.bz2
doc: Fix incorrect enum name in QRawFont::alphaMapForGlyph docs
There's no QImage::Format_A8 format. This is a term used in the corresponding QFontEngineGlyphCache enum. Reviewed-by: Jiang Jiang
-rw-r--r--src/gui/text/qrawfont.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qrawfont.cpp b/src/gui/text/qrawfont.cpp
index 61bc63e..7c7d4eb 100644
--- a/src/gui/text/qrawfont.cpp
+++ b/src/gui/text/qrawfont.cpp
@@ -238,7 +238,8 @@ void QRawFont::loadFromData(const QByteArray &fontData,
If \a antialiasingType is set to QRawFont::SubPixelAntialiasing, then the resulting image will be
in QImage::Format_RGB32 and the RGB values of each pixel will represent the subpixel opacities of
the pixel in the rasterization of the glyph. Otherwise, the image will be in the format of
- QImage::Format_A8 and each pixel will contain the opacity of the pixel in the rasterization.
+ QImage::Format_Indexed8 and each pixel will contain the opacity of the pixel in the
+ rasterization.
\sa pathForGlyph(), QPainter::drawGlyphRun()
*/