]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiFontLoader.h
enable the font width cache for Windows also, it saves three seconds on the UserGuide...
[lyx.git] / src / frontends / qt4 / GuiFontLoader.h
index 566b7d44631f28aaaec2dc4e35dc2b7fcb64c65d..d526ff3ef1c8900c3de49a2fc0bee72ac84a7718 100644 (file)
@@ -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 <map>
 #endif