summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2014-01-29 11:57:08 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-29 21:37:15 +0100
commitb04d87b2263fd5d9b2b57799098a2eb5a3c91dfc (patch)
treebb5b65c0cb575695eee128d83b83074f316ce4c7 /util
parentff70c39ebcc63cf77a457b2af662e6f7de09e6c5 (diff)
REG: Fix font matching in FontConfig
Change a4ff400e25c76a32ec8252285dda043f07b19c15 exposed a bug in the font matching in the FontConfig engine. FcFontMatch is documented to not work unless you call FcConfigSubstitute() and FcDefaultSubstitute() on the pattern first. We were neglecting to do this, but hiding the bug before since we were doing our own font matching and never reading back the file name from FC's match. When we started doing this, suddenly DejaVu Sans (for instance) would match its bold variant instead. Change-Id: Ie6b7026de24cfb0353dc892fa862d6ee79604f38 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions