Fill pattern applied to new object is inappropriately zoomed and inconsistent with other objects using same fill pattern

Bug #1634332 reported by Cory Albrecht
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When using the paint bucket tool to fill an area and then apply a pattern, the pattern appears zoomed and different from other, older objects using the same fill pattern. The 'zoom' is persistent even after saving the file, closing and restarting Inkscape and reloading the file. The pattern also appears inappropriately zoomed in PNG exports regardless of the DPI chosen for the export.

In the attached file, a map, see the small square south of the "N" in "CANADA" on the border with the USA. The object is in layer named "Provinces" and uses the same fill pattern that the objects with "ONTARIO", "QUEBEC", "COLUMBIA" above them use. Those objects are also in the layer "Provinces".

I have also tried deleting the object, using "Clean up document", saving and closing and reopening Inkscape, and making a new object but the problem persists.

It also doesn't actually matter what pattern is chosen in the fill panel - any custom pattern chosen is inappropriately zoomed.

It also does not matter what the zoom level is when to do the paint bucket fill to create the object - when the pattern is chosen it is still

I kept the original pattern objects in a another SVG file for use in other projects, but even copying that object into this document and making a new pattern from it, the problem still persists. I have left those pattern objects in the layer "Patterns". The specific object which the pattern was created from, both originally and now subsequently trying to see if I could get the problem to go away, is the bottom left square in the grid of squares made from various line patterns.

Revision history for this message
Cory Albrecht (bytor) wrote :
Revision history for this message
Cory Albrecht (bytor) wrote :

Forgot to say, this in Inkscape 0.91 on Ubuntu 16.04.

Revision history for this message
su_v (suv-lp) wrote :

The affected path has a preserved transformation which is applied after the pattern is rendered (i.e. the pattern is affected by that same upscaling):

matrix(3.33333816794,0,0,3.33333849908,-81.6680502892,-81.6699568723)

Do you use Inkscape with 'preserved' transforms? (see Preferences > Behavior > Transforms)

Steps to resolve this for the specific path:
0) set the transform preferences to use 'Optimized' transforms
1) select the path
2) remove the current fill paint
3) nudge the path with the cursor keys
   (e.g. a tick upwards, and one back downwards)
[ this will trigger a rewrite of the path data, optimizing the matrix transformation into the node coordinates ]
4) apply the pattern again

As for the origin of that preserved transform: it may depend on the prior or current user's preferences, or it could have been inherited e.g. from a parent group (or layer group) when moved into another layer, or ungrouped.

tags: added: pattern transformations
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.