summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextdocument.h
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2010-08-23 10:53:04 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2010-09-02 09:55:03 (GMT)
commit4c8571de2d50e1dbfeef38b1e1e09c48a0a27aa4 (patch)
tree7e1a8b7a0c65a34ef1beec463444cfe83ca90a3c /src/gui/text/qtextdocument.h
parent72a1709cbe216220722750c743641bf5ba8a8da9 (diff)
downloadQt-4c8571de2d50e1dbfeef38b1e1e09c48a0a27aa4.zip
Qt-4c8571de2d50e1dbfeef38b1e1e09c48a0a27aa4.tar.gz
Qt-4c8571de2d50e1dbfeef38b1e1e09c48a0a27aa4.tar.bz2
Fix symbol font detection in generic CMap decoding
For fonts that have an AppleRoman name table, *isSymbolFont failed to return correct value even if they have a symbol table. This patch corrected this behavior by using symbolTable variable to detect that instead of checking if score == Symbol. Also prefer symbol table over AppleRoman table to make generic CMap decoding consistent with QFontEngineFT (which will use the symbol table whenever its available). Task-number: QTBUG-3852 Reviewed-by: Lars Knoll
Diffstat (limited to 'src/gui/text/qtextdocument.h')
0 files changed, 0 insertions, 0 deletions