[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161120122643.50a4b2bf@vento.lan>
Date: Sun, 20 Nov 2016 12:26:43 -0200
From: Mauro Carvalho Chehab <mchehab@...pensource.com>
To: "David Woodhouse" <dwmw2@...radead.org>
Cc: "Linus Torvalds" <torvalds@...ux-foundation.org>,
"Jonathan Corbet" <corbet@....net>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"Linux Media Mailing List" <linux-media@...r.kernel.org>,
ksummit-discuss@...ts.linuxfoundation.org,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>
Subject: Re: [Ksummit-discuss] Including images on Sphinx documents
Em Sat, 19 Nov 2016 22:59:01 -0000
"David Woodhouse" <dwmw2@...radead.org> escreveu:
> > I think that graphviz and svg are the reasonable modern formats. Let's
> > try to avoid bitmaps in today's world, except perhaps as intermediate
> > generated things for what we can't avoid.
Ok, I got rid of all bitmap images:
https://git.linuxtv.org/mchehab/experimental.git/log/?h=svg-images
Now, all images are in SVG (one is actually a .dot file - while we don't
have an extension to handle it, I opted to keep both .dot and .svg on
my development tree - I'll likely add a Makefile rule for it too).
I converted the ones from pdf/xfig to SVG, and I rewrote the other ones
on SVG. The most complex one was cropping a bitmap image. Instead, I took
the "Tuz" image - e. g. the one from commit 8032b526d1a3
("linux.conf.au 2009: Tuz") and use it for image crop. The file size is
a way bigger than the previous one (the PNG had 11K; the SVG now has 563K),
but the end result looked nice, IMHO.
> Sure, SVG makes sense. It's a text-based format (albeit XML) and it *can*
> be edited with a text editor and reasonably kept in version control, at
> least if the common tools store it in a diff-friendly way (with some line
> breaks occasionally, and maybe no indenting). Do they?
Inkscape does a good job on breaking lines for a diff-friendly output.
Yet, some lines violate the maximum limit for e-mails defined by
IETF RFC 2821. The problem is that sending such patches to the mailing
lists could make them be ignored.
Not sure what would be the best way to solve such issues.
Thanks,
Mauro
Powered by blists - more mailing lists