From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] system: grub: Convert grub background using rsvg-convert Date: Thu, 27 Aug 2015 23:19:50 +0200 Message-ID: <87twrkwhs9.fsf@gnu.org> References: <87egitx3r7.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZV4aZ-0001d8-OU for guix-devel@gnu.org; Thu, 27 Aug 2015 17:20:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZV4aZ-0002gt-3N for guix-devel@gnu.org; Thu, 27 Aug 2015 17:20:03 -0400 In-Reply-To: <87egitx3r7.fsf@netris.org> (Mark H. Weaver's message of "Sun, 23 Aug 2015 14:23:56 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: guix-devel@gnu.org, Luis Felipe =?utf-8?Q?L=C3=B3pez?= Acevedo Mark H Weaver skribis: > This patch modifies 'svg->png' in (gnu system grub) to use rsvg-convert > instead of inkscape. Inkscape is a rather heavy dependency to convert > an image. This is important for users who choose to avoid binary > substitutes. Good idea. > The main difficulty here was that our SVG artwork is partially > transparent, and includes a "Background" layer with a checker-board > pattern. I guess this layer is for convenience when editing in > Inkscape, and apparently Inkscape excludes the "Background" layer when > exporting to png. Other tools render all layers. Therefore, avoiding > Inkscape required code to remove that layer before conversion to png. Fun. :-) If possible, I would rather remove said layer directly in the guix-artwork repo, or somehow make that layer invisible to rsvg-convert. Luis Felipe: What=E2=80=99s your take on this? Thanks, Ludo=E2=80=99.