The font looking will be changed after reopening the project. The font size and style are all the same, but they are just different on the screen. It seems that the texts are stretched vertically. The legend frame will be changed with the font looking by turning on "Resize to fit contents" function.
Before:
After:
Steps to reproduce the issue
Open a new .qgz file
Go to layout
Create a Legend -> Type some texts (Including Title, Subgroup Headings, Item Labels. )-> Go to Fonts and Text Formatting -> Change the font style by click on "Regular" and then click on "Bold"
Save and close the file
Reopen the file, Go to layout. The font will be changed
The font can be changed back to the "before" by click style ->Regular -> Bold.
Versions
QGIS version
3.34.6-Prizren
QGIS code revision
623828f5
Qt version
5.15.13
Python version
3.12.3
GDAL/OGR version
3.8.5
PROJ version
9.4.0
EPSG Registry database version
v11.004 (2024-02-24)
GEOS version
3.12.1-CAPI-1.18.1
SQLite version
3.45.1
PDAL version
2.6.3
PostgreSQL client version
16.2
SpatiaLite version
5.1.0
QWT version
6.2.0
QScintilla2 version
2.14.1
OS version
Windows 11 Version 2009
What is the bug or the crash?
The font looking will be changed after reopening the project. The font size and style are all the same, but they are just different on the screen. It seems that the texts are stretched vertically. The legend frame will be changed with the font looking by turning on "Resize to fit contents" function.
Before: After:
Steps to reproduce the issue
Versions
QGIS version 3.34.6-Prizren QGIS code revision 623828f5 Qt version 5.15.13 Python version 3.12.3 GDAL/OGR version 3.8.5 PROJ version 9.4.0 EPSG Registry database version v11.004 (2024-02-24) GEOS version 3.12.1-CAPI-1.18.1 SQLite version 3.45.1 PDAL version 2.6.3 PostgreSQL client version 16.2 SpatiaLite version 5.1.0 QWT version 6.2.0 QScintilla2 version 2.14.1 OS version Windows 11 Version 2009
Active Python plugins FreehandRasterGeoreferencer 0.8.3 GeoCoding 2.19 MapsPrinter 0.9 mmqgis 2021.9.10 numericalDigitize 0.4.7 processing_saga_nextgen 1.0.0 profiletool 4.2.6 quick_map_services 0.19.34 StreetView 3.2 tuflow 3.11 volume_calculation_tool 0.4 db_manager 0.1.20 grassprovider 2.12.99 processing 2.12.99
Supported QGIS version
New profile
Additional context
No response