From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 09E68728 for ; Tue, 22 Nov 2016 16:38:53 +0000 (UTC) Received: from osg.samsung.com (ec2-52-27-115-49.us-west-2.compute.amazonaws.com [52.27.115.49]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 84DC4125 for ; Tue, 22 Nov 2016 16:38:52 +0000 (UTC) Date: Tue, 22 Nov 2016 14:38:45 -0200 From: Mauro Carvalho Chehab To: Jani Nikula Message-ID: <20161122143845.5b3d8c29@vento.lan> In-Reply-To: <871sy3y13o.fsf@intel.com> References: <20161121104444.28862d80@lwn.net> <20161121171557.5c0fbe8c@vento.lan> <877f7vy684.fsf@intel.com> <20161122131510.0fadabc4@vento.lan> <871sy3y13o.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Markus Heiser , ksummit-discuss@lists.linuxfoundation.org, Linux Doc Mailing List , Linux Kernel Mailing List , Sakari Ailus , Mauro Carvalho Chehab Subject: Re: [Ksummit-discuss] [PATCH 0/9] Get rid of bitmap images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Em Tue, 22 Nov 2016 17:40:27 +0200 Jani Nikula escreveu: > On Tue, 22 Nov 2016, Mauro Carvalho Chehab 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 texts :-( Just using fmt didn't seem to cause issues, at least on this image, but I'll do more tests to be sure. Regards, Mauro