Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BF3C9C77 for ; Wed, 11 Jan 2012 15:35:18 +0000 (UTC) Received: (qmail 37060 invoked by uid 500); 11 Jan 2012 15:35:18 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 36994 invoked by uid 500); 11 Jan 2012 15:35:17 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 36986 invoked by uid 99); 11 Jan 2012 15:35:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 15:35:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 15:35:15 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id 753362E37; Wed, 11 Jan 2012 15:34:54 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: DO NOT REPLY [Bug 118730] embedded svg graphic is printed wrong Date: Wed, 11 Jan 2012 15:34:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Drawing X-Bugzilla-Component: printing X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: Armin.Le.Grand@me.com X-Bugzilla-Status: STARTED X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: Armin.Le.Grand@me.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Ever Confirmed Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/ooo/show_bug.cgi?id=118730 Armin Le Grand changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |STARTED Ever Confirmed|0 |1 --- Comment #2 from Armin Le Grand 2012-01-11 15:34:51 UTC --- ALG: Reason identified, it's the (old) converion from Metafile to SdrObjects. In the first step the primitives get converted to a metafile which is not too bad, just losing some precision. Unfortunately the Svg contains clip paths, originally the curves are longer than the rasters. I can imagine that the programmer (whoever/whatever app is creating this) saved some work by not needing to exactly calculate that curves. The metafile gets the correct ClipRegions (the old Vcl ones). In a 2nd step this metafile gets converted to SdrObjects. In that (very old) step there is no good handling of ClipRegions, it tries to solve the problem by painting the clipped stuff to a bitmap. This works, but of course uses a bad resolution and no transparency. Sigh. We currently have no more up-to-date converter to primitives despite I'm planning to write one for some time already. Of course a new one would just clip the geometry when a clip region is used and try to stay completely on the vector side of things. I'll check if I can make the old stuff a little bit smarter concerning handling of ClipRegions, but I'm not sure this is possible. -- Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.