remove unused QFontEngineFT::transform member

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-12-23 07:12:13 +02:00
parent 8cf902187c
commit 29f3b86946
2 changed files with 0 additions and 4 deletions

View file

@ -547,7 +547,6 @@ QFontEngineFT::QFontEngineFT(const QFontDef &fd)
matrix.yx = 0;
cache_cost = 100;
kerning_pairs_loaded = false;
transform = false;
embolden = false;
antialias = true;
freetype = 0;
@ -600,8 +599,6 @@ bool QFontEngineFT::init(FaceId faceId, bool antialias, GlyphFormat format)
matrix.xy = 0x10000*3/10;
FT_Set_Transform(face, &matrix, 0);
freetype->matrix = matrix;
if (fake_oblique)
transform = true;
// fake bold
if ((fontDef.weight == QFont::Bold) && !(face->style_flags & FT_STYLE_FLAG_BOLD) && !FT_IS_FIXED_WIDTH(face))
embolden = true;

View file

@ -245,7 +245,6 @@ protected:
HintStyle default_hint_style;
bool antialias;
bool transform;
bool embolden;
SubpixelAntialiasingType subpixelType;
int lcdFilterType;