]> git.lyx.org Git - features.git/commit
* qt_helpers.h:
authorAbdelrazak Younes <younes@lyx.org>
Sat, 2 Dec 2006 15:54:49 +0000 (15:54 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 2 Dec 2006 15:54:49 +0000 (15:54 +0000)
commit591d47a64b8ba894be5c793472397374d0496984
tree3faa12505b69aa18781ab7fb877eb59cd5b368b4
parentb2e5732971f30af2e7d79fec299bdddaa26254d8
* qt_helpers.h:
  - ucs4_to_qchar(): add a FIXME and an assertion

* GuiFontMetrics: replace the table based cache with two QHash based cache. With this change, the speed overhead is not negligible (exact same score with the UserGuide test) and the required additional memory is minimal (maybe one or two megabytes).

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