diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-06-04 17:51:59 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-06-07 14:00:51 (GMT) |
commit | 5d130f9682fbd3dc8c469468e805854fd70a11ea (patch) | |
tree | 93fa8ed4711472c03616a96e659fbf253c572d51 /doc/src/snippets/sqldatabase/sqldatabase.cpp | |
parent | 53a3b44aea9d2e331b0359b23512b778b520091a (diff) | |
download | Qt-5d130f9682fbd3dc8c469468e805854fd70a11ea.zip Qt-5d130f9682fbd3dc8c469468e805854fd70a11ea.tar.gz Qt-5d130f9682fbd3dc8c469468e805854fd70a11ea.tar.bz2 |
Retrieve proper glyph outlines from Symbian^4
Up until Symbian^4, the Symbian font Api does not provide access to the
vector data of glyphs. In order to make QPainterPath::addText() and
transformed text rendering work, Qt falls back to a workaound: Tracing
the bitmap of a rasterized glyph. That is neither performant nor is the
result of good quality.
Symbian^4 will add Api that returns glyph outlines encoded as SVG paths.
The code in this commit essentially parses the SVG path and returns a
QPainterPath. The parsing part took some ideas from QSvg, and is
implemented in a very reduced way.
Task-number: QT-809
Reviewed-by: Aleksandar Sasha Babic
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions