Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
zirneklitis opened this issue Nov 15, 2024 · 0 comments
Open
2 tasks done
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@zirneklitis
Copy link

zirneklitis commented Nov 15, 2024

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.
  • Actual Results:
    There is no bold text.
  • Expected Results:
    The bold text should be rendered.

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

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@zirneklitis zirneklitis added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 15, 2024
@YoannQDQ YoannQDQ added the Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

2 participants