Bug 8188 - Images with clipping don't work correctly in PDF
Summary: Images with clipping don't work correctly in PDF
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Documentation (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-11 13:54 CEST by Pierre Ossman
Modified: 2023-08-08 13:05 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2023-07-11 13:54:50 CEST
There is some bug in our PDF pipeline where clipped elements in SVG images are incorrectly handled. It seems to include the clipped portions in the calculations of the image size, not just the dimensions after clipping. This has the effect that images are incorrectly scaled and positioned if there are large elements that are clipped to something much smaller.

I've reported the issue upstream here:

https://github.com/rst2pdf/rst2pdf/issues/1173

For now, we just have to avoid large clipped elements. Perhaps avoid clipping entirely?

Note You need to log in before you can comment on or make changes to this bug.