Re: [Ksummit-discuss] [PATCH 0/9] Get rid of bitmap images
From: Mauro Carvalho Chehab
Date: Tue Nov 22 2016 - 11:38:57 EST
Em Tue, 22 Nov 2016 17:40:27 +0200
Jani Nikula <jani.nikula@xxxxxxxxx> escreveu:
> On Tue, 22 Nov 2016, Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> wrote:
> > I tried both, none broke the long lines on
> > Documentation/media/uapi/v4l/fieldseq_tb.svg.
> How about:
> 'tidy -xml -i Documentation/media/uapi/v4l/fieldseq_tb.svg | fmt -sw 80'
> Both pretty indents and folds. I think it should Just Work(tm).
No, it didn't... Try this:
$ tidy -xml -i Documentation/media/uapi/dvb/dvbstb.svg|fmt -sw 80 >a.svg
And open both images with inkscape. You'll see that it mangled the
Just using fmt didn't seem to cause issues, at least on this image, but
I'll do more tests to be sure.