Tobias Deiminger <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #8 from Tobias Deiminger <> ---
At least one cause for the misfit is this: Okular doesn't consult
generator/poppler for required size when it calculates the desired bounding box
of annotations. Actually it can't, because Poppler has no such API yet. Instead
Okular tries to guess the size of the bounding box on its own by using
QFontMetricsF::boundingRect [0].

Only the annotation rendering engine (i.e. Poppler) could know the exact size.
E.g. it's not even guaranteed that QFontMetricsF and Poppler actually select
the same font (may or may not use lib fontconfig to search fonts, afaikt) even
if description matches. A QT-based guess can always be more or less wrong.


You are receiving this mail because:
You are the assignee for the bug.

Reply via email to