diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-11-07 15:24:21 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-11-08 14:32:09 (GMT) |
commit | 1496976a05b8804135608c7dde9bca5620950c33 (patch) | |
tree | 6073045538cbb1af8331a4b1da1a0e95cfefbab7 /dist/changes-2.00beta3 | |
parent | 96e484c95629afd1f550449296f82c0561e64d26 (diff) | |
download | Qt-1496976a05b8804135608c7dde9bca5620950c33.zip Qt-1496976a05b8804135608c7dde9bca5620950c33.tar.gz Qt-1496976a05b8804135608c7dde9bca5620950c33.tar.bz2 |
Fix localized font family access in OS X
Font family names listed in QFontDatabase::families() should be
localized names rather than their default (English) names, to be
consistent with behaviors in other Mac apps and previous Qt/Mac
based on ATS.
It should also be possible to verify if a font exists with any
family name, regardless it's localized or not. Say we have font
"Hiragino Mincho Pro", which has a Japanese name called "ヒラギ
ノ明朝 Pro", then
db.hasFamily(QString::fromUtf8("ヒラギノ明朝 Pro"))
should return true.
Task-number: QTBUG-22372
Reviewed-by: Morten Sorvig
Diffstat (limited to 'dist/changes-2.00beta3')
0 files changed, 0 insertions, 0 deletions