antialias problem when transforming an object in pattern

Bug #1251039 reported by v1nce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Tavmjong Bah

Bug Description

12777 ubuntu 12.04

when a path is transformed into a pattern this pattern suffers from "aliasing" problem

[attached png]
 the path on the left (30° grey lines) has been duplicated then transformed into a pattern => the aliasing become noticeable

I don't know if it matters but in the settings I choose a 16*16 oversampling bitmap.

Revision history for this message
v1nce (vincent-pennec) wrote :
Revision history for this message
v1nce (vincent-pennec) wrote :
Revision history for this message
ScislaC (scislac) wrote :

Confirmed with r12812, not reproduced with 0.48.4

Changed in inkscape:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 0.49
tags: added: blocker regression
Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :

Patterns are turned into bitmaps which are then tiled. The only solution I see is to increase the resolution of the bitmap. The resolution is somewhat arbitrarily determined. I've increased the "scaling factor" from 1.1 to 2. (r12824 src/sp-pattern.cpp)

I also removed the oversampling preference (in r12823). It hasn't been used since the move to Cairo.

su_v (suv-lp)
Changed in inkscape:
assignee: nobody → Tavmjong Bah (tavmjong-free)
status: Confirmed → In Progress
Revision history for this message
su_v (suv-lp) wrote :

Additional regression with r13111 (not reproduced with r13110):
The pattern in the sample file 'jitter.svg' fails to render visibly.

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

@Tav - JFYI: the same change (pattern no longer renders visibly with rev >= 13111) was also observed with the original sample file of bug #953992 (“Imported pattern fill disappers while transforming”).

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

Pattern renders visible again with the fix in r13120.

Changed in inkscape:
status: In Progress → Fix Committed
tags: removed: blocker
tags: added: pattern
Revision history for this message
su_v (suv-lp) wrote :

Related follow-up report:
- Bug #1292459 “trunk: huge spikes of memory usage when zooming in closely on objects with bitmap pattern fill”
  <https://bugs.launchpad.net/inkscape/+bug/1292459>

Changed in inkscape:
status: Fix Committed → Fix Released
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.