mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
set glyph cache type to QFontEngineGlyphCache::Raster_A8 only if the surface is not in mono format
git blame has nothing (stealth changes done upstream, not the first):
30fd22b957/src/gui/painting/qpaintengine_raster.cpp
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
03e20f02ae
commit
68468f7802
1 changed files with 1 additions and 1 deletions
|
@ -296,9 +296,9 @@ bool QRasterPaintEngine::begin(QPaintDevice *device)
|
|||
}
|
||||
#endif
|
||||
|
||||
d->glyphCacheType = QFontEngineGlyphCache::Raster_A8;
|
||||
if (d->mono_surface)
|
||||
d->glyphCacheType = QFontEngineGlyphCache::Raster_Mono;
|
||||
d->glyphCacheType = QFontEngineGlyphCache::Raster_A8;
|
||||
|
||||
setActive(true);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue