Summary: | Add Watermark with text fails to process any items with some fonts. | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Andrew Sayman <andrew.sayman> |
Component: | Plugin-Bqm-WaterMark | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 7.9.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andrew Sayman
2023-01-11 23:31:20 UTC
It appears to have something to do with the font selection. When I pick fonts that begin in "MS," it fails with an empty error message. When I pick "Noto Sans," "Noto Serif," or "DejaVu Serif" then the watermark is successfully added. It seems to be a bug in QFontMetrics. Also reproducible with "fixed" fonts. In the function for calculating the font size, the width of the bounding rect always remains the same as the font size increases. Maik Maik, there is a UPSTREAM Qt bug about QFontMetrics ? @Andrew Sayman, This problem still reproducible with the new digiKam 8.2.0 pre-release Windows installer available at usual place: https://files.kde.org/digikam/ This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110. Thanks in advance Gilles Caulier |