diff options
| author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-08-05 10:59:34 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-05 13:19:58 +0200 |
| commit | e95edf644ee7c66708e878469ed3aec00c90e75c (patch) | |
| tree | b4a677243128aabb52c4658294e958c70da72cd4 /doc/src/snippets/code/doc_src_qplugin.cpp | |
| parent | 7ce8491280990350162933a0716d1b014f65aeb6 (diff) | |
Fix weight parsing in QBasicUnixFontDatabase
First check the usWeightClass in OS/2 font table, then check
the weight byte in panose structure because Nokia Pure Text
fonts only have that set correctly.
Change-Id: Idce2626c8df17ce74ba78b317846cb42c3f1fe84
Reviewed-by: Jørgen Lind
Reviewed-on: http://codereview.qt.nokia.com/2682
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_qplugin.cpp')
0 files changed, 0 insertions, 0 deletions
