From: Abdelrazak Younes Date: Wed, 4 Oct 2006 12:43:13 +0000 (+0000) Subject: enable the font width cache for Windows also, it saves three seconds on the UserGuide... X-Git-Tag: 1.6.10~12459 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c77b5dbee16b143d0d73c79dcbd82a05590f7021;p=features.git enable the font width cache for Windows also, it saves three seconds on the UserGuide test on my machine (18s versus 21 second). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15235 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiFontLoader.h b/src/frontends/qt4/GuiFontLoader.h index 566b7d4463..d526ff3ef1 100644 --- a/src/frontends/qt4/GuiFontLoader.h +++ b/src/frontends/qt4/GuiFontLoader.h @@ -22,7 +22,7 @@ // Starting with version 3.1.0, Qt/X11 does its own caching of // character width, so it is not necessary to provide ours. -#if defined(Q_WS_MACX) +#if defined(Q_WS_MACX) || defined(Q_WS_WIN32) #define USE_LYX_FONTCACHE #include #endif