Outline drawing should not override the default freetype loadflags
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Wed, 20 Aug 2014 08:13:44 +0000 (10:13 +0200)
committerAllan Sandfeld Jensen <allan.jensen@digia.com>
Thu, 21 Aug 2014 15:31:33 +0000 (17:31 +0200)
commitb78e81f7c23a557a31ad649b33d85eed9a697281
treed14639d84e65548ab5d5ea480a0b2a0c43644b30
parent6b12d781faf3802e336923ddc43a822da7546989
Outline drawing should not override the default freetype loadflags

We set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH as the default load flags
for freetype fonts, but due to using = instead of =| the default flags
gets overridden when outline drawing sets FT_LOAD_NO_BITMAP.

Change-Id: I26b45aa2bbf613689d278eb07ae028ef9757023c
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/gui/text/qfontengine_ft.cpp