From c77b5dbee16b143d0d73c79dcbd82a05590f7021 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 4 Oct 2006 12:43:13 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/GuiFontLoader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2