commit 8be393460b1a041fa38934b1a1ad42960fffc88a
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Fri Feb 14 18:49:40 2025 +0100
Add forgotten setting of font scale factor when initalizing preview
Time will tell whether this fixes #13078.
(cherry picked from commit d7927cfd3552a7efa3c711eab6151aa7abbcff64)
---
src/graphics/PreviewLoader.cpp | 1 +
status.24x | 3 +++
2 files changed, 4 insertions(+)
diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp
index 004ced6d89..be76444df5 100644
--- a/src/graphics/PreviewLoader.cpp
+++ b/src/graphics/PreviewLoader.cpp
@@ -444,6 +444,7 @@ PreviewLoader::Impl::preview(docstring const &
latex_snippet) const
// Schedule refresh of all previews on zoom or color changes.
// The previews are regenerated only after the zoom factor
// has not been changed for about 1 second.
+ font_scaling_factor_ = fs;
fg_color_ = fg;
bg_color_ = bg;
delay_refresh_->start(1000);
diff --git a/status.24x b/status.24x
index 24f4edeae7..cc1119dfc3 100644
--- a/status.24x
+++ b/status.24x
@@ -76,8 +76,11 @@ What's new
* USER INTERFACE
+- Fix tiny previews when initially loading a file (bug 13078).
+
- Fix crash in batch LyX when ui_style is set (bug 13141).
+
- Rebuild toolbars on runtime mode switch on Linux.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs