Calibre 5.99: font-weight oddities
Bug #1980792 reported by
ownedbycats
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Calibre 5.99.11* (run from source)
I'm using the Calibri font.
In the comments field, the 'bold' button does this:
<p style="font-weight: 700">test</p>
However, comments in books added before the upgrade to 5.99 have font-weight set to 600, and bold text in downloaded metadata also is. This results in the font looking wrong -- see the screenshot for an example.
To post a comment you must log in.
Well, this is a change in Qt 6 going from 600 to 700. There's not much I font-weight: 700"> however, there isnt anything I can do
can do about it. I have changed the comments editor widget to recognize
and convert font-size:700 to plain html as well as font-size:600 which
should fix the bold button, which will generate <em> tags instead of
<span style="
about Qt's changed rendering for font-weight:600, if you dont like it,
you can use the bulk metadata edit's search and replace tab to change
all font-weight:600 to font-weight: 700 or font-weight: bold