View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015958||Scribus||Import / Export||public||2019-11-20 13:21||2021-03-17 11:13|
|Summary||0015958: Get "Group clips content" to work with imported vectors and the "Crop to" option|
|Description||When importing a Pdf, I can choose to crop it to a few different page boxes.|
But this seems not to have any effect on what Scribus will be showing on the page.
Playing with the the group shape and "Group clip content" seems to suggest that Scribus is using the correct box, but then it scales the full content to the box. Instead of leaving the marks outside of it.
Currently, there is no way to "correctly" resize a group so that "Group clips content" will show some specific area of the group. Finding a way to do so, will probably solve the import issue.
|Tags||No tags attached.|
Here is something I noted in this context (current svn):
- draw a few shapes and crop them
- edit the shape of the group in a way which does not change the rectangular bounding box (e.g. pull in oppositie corners)
- observe that the cropping works
- edit the shape so that the bounding box changes (move in another corner)
- observe that as soon as you do that the content is resized according to the changed bounding box
So, it might even be that the import sets up the shape correctly but then a bounding box recalculation kicks in and resizes the content to the extent of the bbox
||"draw a few shapes and group them" (not "crop", sorry)|
||To my uninfomed eye it seems that ScribusDoc::resizeGroupToContents() in scribus/scribusdoc.cpp does not take into account the original PoLine (nor the fact whether we clip or not) when computing the extents of the items in the group, which is the base for the scaling old/new. Emphasis on "uninformed", though ;)|
|2019-11-20 13:21||ale||New Issue|
|2021-03-08 15:02||jghali||Category||- => Import / Export|
|2021-03-16 21:00||jghali||Relationship added||has duplicate 0016513|
|2021-03-17 09:44||mjg||Note Added: 0048951|
|2021-03-17 09:46||mjg||Note Added: 0048952|
|2021-03-17 11:13||mjg||Note Added: 0048953|