diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-11-27 16:32:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-28 11:21:44 +0100 |
commit | f29e38f9a433ce7e47eb9ec88927b184c856dd6d (patch) | |
tree | b2be62f6c85f5578032f4a5f276aa38c0d29fcb6 /src/widgets/widgets/qabstractspinbox.cpp | |
parent | dc80838a378268a13ccbe74b481528f1ad631918 (diff) |
Fix font lookup.
Change match() to return an index and use that to reintroduce
the blacklist bookkeeping for fonts for which font engine
creation fails (for example, due to missing open type support).
Change the algorithm to retry search if that happens.
Add empty string as fallback for non-common scripts indicating
'try to find any font matching the script' as is done in Qt 4.
Task-number: QTBUG-34908
Change-Id: I9ac81ff1c275ebb635675dc26b52394789fca60c
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/widgets/widgets/qabstractspinbox.cpp')
0 files changed, 0 insertions, 0 deletions