]> git.lyx.org Git - features.git/commit
* GuiFontMetrics: new metrics(QString) method
authorAbdelrazak Younes <younes@lyx.org>
Fri, 27 Oct 2006 21:27:03 +0000 (21:27 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 27 Oct 2006 21:27:03 +0000 (21:27 +0000)
commit7f94f08bbe9d380c4d51145d795dc8c760a78be7
tree51d17ef3dc7fb6dc247e7d66566e0e4ce659f0ef
parentf43176aebc5d88b1fa9345f7502355010fde130d
* GuiFontMetrics: new metrics(QString) method

* QLPainter::paintText(): use GuiFontMetrics::metrics(QString) to avoid an ucs4 to QString conversion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15584 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiFontMetrics.C
src/frontends/qt4/GuiFontMetrics.h
src/frontends/qt4/QLPainter.C