diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-08-11 09:49:35 (GMT) |
---|---|---|
committer | Jesper Thomschutz <jesper.thomschutz@nokia.com> | 2010-08-12 08:20:56 (GMT) |
commit | 6419a9c35e2ee1305b7f9cfe9213a152aafeb2e5 (patch) | |
tree | 5aed8c988c305ee1662fcf6feffc9de4192371d4 /doc/src/snippets/code/src_gui_text_qtextdocument.cpp | |
parent | 1d4e8c0a4c0fc41267907c8b1e41bb0b568706cf (diff) | |
download | Qt-6419a9c35e2ee1305b7f9cfe9213a152aafeb2e5.zip Qt-6419a9c35e2ee1305b7f9cfe9213a152aafeb2e5.tar.gz Qt-6419a9c35e2ee1305b7f9cfe9213a152aafeb2e5.tar.bz2 |
Disable minRightBearing optimization in QTextLayout on Mac
Neither of the Mac font engines have implemented minimum right bearing,
which will cause them to return 0 for the minimum value. This will
cause the right bearing to never be calculated prior to breaking
and thus never be a part of the breaking width. Since actually
implementing the functions is too time consuming for right now, we
will disable the optimization for the time being.
Reviewed-by: Olivier
(cherry picked from commit bb696453f6f87cad58982af3455335478fedb8cc)
Diffstat (limited to 'doc/src/snippets/code/src_gui_text_qtextdocument.cpp')
0 files changed, 0 insertions, 0 deletions