]> git.lyx.org Git - features.git/commitdiff
Disable and hide the pixmap cache feature
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 12 Feb 2018 10:12:50 +0000 (11:12 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 14 Feb 2018 09:12:11 +0000 (10:12 +0100)
lib/RELEASE-NOTES
lib/doc/UserGuide.lyx
src/frontends/qt4/GuiPainter.cpp
src/frontends/qt4/GuiPrefs.cpp

index dccd1f10ed42ba337107ee75984fcccd2f3b8edd..95485d6635fa3c8712fc076376b0431fc03839c1 100644 (file)
   See chapter 3.9.1.1 "Dashes and Line Breaks" of the User Guide and
   "Caveats when upgrading from earlier versions to 2.3.x" below.
 
+* The preference "Tools->Preferences->Look&Feel->Screen Fonts->Use
+  pixmap cache to speed up font rendering" is not available anymore.
+  It was of dubious value and led to rendering issues.
+
 * The following UI translations were dropped, because the lack of translation
   maintenance:  Russian, Danish, Greek, Serbian, Galician, Catalan, Romanian,
   Dutch.
@@ -87,6 +91,8 @@
 * \screen_zoom
   This is now independent of the value set via buffer-zoom[-in|-out].
 
+* \use_pixmap_cache
+  The value of this variable is now ignored.
 
 !!!The following new LyX functions have been introduced in 2.3:
 
index 06cfd1f92469bb23017c47620924176cdf098a6c..fb8cac9d103474b371befeb68e4568b4488b7e5a 100644 (file)
@@ -46198,24 +46198,6 @@ reference "subsec:Document-Font"
 .
 \end_layout
 
-\begin_layout Standard
-With the option 
-\family sans
-Use pixmap cache to speed up font rendering
-\family default
- enabled, \SpecialChar LyX
- needs to redraw the screen less often.
- This results in better performance, especially on slow systems.
- On the other hand, the characters might look more fuzzy on screen.
- So whether you enable this or not depends on whether you prefer speed over
- aesthetics.
- Note that the Pixmap Cache is only available and useful under Mac
-\begin_inset space ~
-\end_inset
-
-OS and Windows.
-\end_layout
-
 \begin_layout Subsection
 Colors
 \begin_inset Index idx
index a3cb089e7877f80629dbe0ea2853cb2a18047dd6..e832f23e997d5d9ebd036dbdeeb4f7fc483c2cd1 100644 (file)
@@ -50,7 +50,7 @@ const int Painter::thin_line = 1;
 
 GuiPainter::GuiPainter(QPaintDevice * device, double pixel_ratio)
        : QPainter(device), Painter(pixel_ratio),
-         use_pixmap_cache_(lyxrc.use_pixmap_cache && USE_PIXMAP_CACHE)
+         use_pixmap_cache_(false)
 {
        // new QPainter has default QPen:
        current_color_ = guiApp->colorCache().get(Color_black);
index 4681dd3219db729b3936cfdc11367466566e190a..dc04ec5c3dc07cd5103349811c4b4258794ec099 100644 (file)
@@ -1137,7 +1137,7 @@ void PrefScreenFonts::updateRC(LyXRC const & rc)
 #if defined(Q_WS_X11) || defined(QPA_XCB)
        pixmapCacheCB->setEnabled(false);
 #endif
-
+       pixmapCacheCB->hide();
 }