mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
assume default format does not equal Format_None in QFontEngineFT::loadGlyph()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8a1f8d5abf
commit
f6204c0552
1 changed files with 1 additions and 7 deletions
|
@ -564,14 +564,8 @@ QFontEngineFT::Glyph *QFontEngineFT::loadGlyph(glyph_t glyph,
|
|||
GlyphFormat format,
|
||||
bool fetchMetricsOnly) const
|
||||
{
|
||||
// Q_ASSERT(freetype->lock == 1);
|
||||
|
||||
if (format == Format_None) {
|
||||
if (defaultFormat != Format_None) {
|
||||
format = defaultFormat;
|
||||
} else {
|
||||
format = Format_Mono;
|
||||
}
|
||||
format = defaultFormat;
|
||||
}
|
||||
|
||||
Glyph *g = defaultGlyphSet.getGlyph(glyph);
|
||||
|
|
Loading…
Add table
Reference in a new issue