qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.67k stars 3.02k forks source link

Print Layout :: Text labels :: Render as HTML :: Bold tags are not shown #59452

Open zirneklitis opened 2 weeks ago

zirneklitis commented 2 weeks ago

What is the bug or the crash?

When the “Render as HTML” for text labels is switched on, the HTML tag \<b> is not rendered in the map layout. The_bold_tag_is_not working-8f

Export as image creates a result without the bold weight.

Export as PDF creates a text in the medium or semibold weight rather then bold. Missing_bold_style-8f

Steps to reproduce the issue

  1. Create map layout.
  2. Add a text label.
  3. Switch on “Render as HTML”.
  4. Add text with \<b> tag included.

Versions

QGIS version 3.40.0-Bratislava

QGIS code branch Release 3.40

Libraries Qt version 5.15.10 Python version 3.11.9 GDAL/OGR version 3.10.0 PROJ version 9.5.0 EPSG Registry database version v11.016 (2024-08-31) GEOS version 3.13.0-CAPI-1.19.0 SQLite version 3.47.0 PDAL version 2.8.1 PostgreSQL client version unknown SpatiaLite version 5.1.0 QWT version 6.1.5 QScintilla2 version 2.14.1 OS version KDE Flatpak runtime

Active Python plugins processing 2.12.99 db_manager 0.1.20 MetaSearch 0.3.6 grassprovider 2.12.99

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

QGIS version 3.38.3-Grenoble

QGIS code branch Release 3.38 Qt version 5.15.14 Python version 3.12.7 GDAL/OGR version 3.7.3 PROJ version 9.2.1 EPSG Registry database version v10.088 (2023-05-13) GEOS version 3.12.2-CAPI-1.18.2 SQLite version 3.42.0 PDAL version 2.5.6 PostgreSQL client version 15.3 SpatiaLite version 5.0.1 QWT version 6.2.0 QScintilla2 version 2.13.4 OS version Fedora Linux 39 (Thirty Nine)

Active Python plugins DigitizingTools 1.5.2 geocatbridge 4.4 gprlp_metadata_search 0.3.1 numericalDigitize 0.4.7 profiletool 4.2.6 LayerBoard 1.0.1 GeometryShapes 0.7 AzimuthMeasurement 0.2.2 coordinates_converter 1.0 FreehandRasterGeoreferencer 0.8.3 coordinate_capture 0.2 project_report 1.2 MetaSearch 0.3.6 grassprovider 2.12.99 processing 2.12.99 db_manager 0.1.20

Supported QGIS version

New profile

Additional context

No response