On Dec 14, 2005, at 8:42 AM, Jean-Marc Lasgouttes wrote:
"Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
Martin> Looking at qfont_loader.C, I see that there was font width
Martin> caching for, as it says,
Martin> "// Starting with version 3.1.0, Qt/X11 does its own caching
Martin> of // character width, so it is not necessary to provide
Martin> ours."
Martin> Does this apply for Qt/MacX too? (Bennett uses
Martin> qt-mac-free-3.3.4) What if it doesn't? Should we try to
Martin> re-enable our own caching code here?
Bennett, is the speed better if you change the beginning of
qfont_loader.h to
//#if QT_VERSION < 0x030100
#define USE_LYX_FONTCACHE
//#endif
With USE_LYX_FONTCACHE (qfont_loader.h modified): 22-23 seconds for
typing my standard sentence in long paragraph of plain text.
Without USE_LYX_FONTCACHE (qfont_loader.h unmodified): 23-24 seconds.
That seems to be within margin of error.
Bennett