From Oleg Sun Jul 17 22:25:58 2011 From: Oleg To: inkscape-devel@lists.inkscape.org Subject: [Inkscape-devel] & bug Date: Mon, 18 Jul 2011 02:25:36 +0400 Message-ID: <20110717222536.GA32387@...1145...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3745241837263337231==" --===============3745241837263337231== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, all! I use inkscape version 0.48.1 r (May 14 2011). Yesterday i saw a strange behaviour of a text element. Inkscape show me the text from the file: <?xml version="1.0" standalone="yes"?> <svg width="210mm" height="297mm" version="1.1" xmlns="http://www.w3.org/2000/svg"> <text x="72mm" y="38mm" dx="0mm 2mm 4mm 2mm 4mm 2mm 2mm 2mm"> <title>some title 12072011 as "1 20 72011", instead of "12 07 2011". If i delete the title element or comment it, the text element show me as needed. Is this a bug or may be i do anything wrong? Thanks. --===============3745241837263337231==-- From Tavmjong Bah Mon Jul 18 05:44:19 2011 From: Tavmjong Bah To: inkscape-devel@lists.inkscape.org Subject: Re: [Inkscape-devel] & bug Date: Mon, 18 Jul 2011 07:44:04 +0200 Message-ID: <1310967844.2262.444.camel@...2403...> In-Reply-To: <20110717222536.GA32387@...1145...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7959006282688649009==" --===============7959006282688649009== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Mon, 2011-07-18 at 02:25 +0400, Oleg wrote: > Hi, all! > > I use inkscape version 0.48.1 r (May 14 2011). Yesterday i saw a strange > behaviour of a text element. Inkscape show me the text from the file: > > <?xml version="1.0" standalone="yes"?> > <svg width="210mm" > height="297mm" > version="1.1" > xmlns="http://www.w3.org/2000/svg"> > > <text x="72mm" y="38mm" dx="0mm 2mm 4mm 2mm 4mm 2mm 2mm 2mm"> > <title>some title > 12072011 > > > > > > as "1 20 72011", instead of "12 07 2011". If i delete the title element or > comment it, the text element show me as needed. > > Is this a bug or may be i do anything wrong? > I believe adding the title element like you have has introduced an extra white space which is using up one of the dx values. Try ... (no space/new line). I have similar problems sometimes with DocBook. The XML specification of how white space is treated is probably the root cause. Tav --===============7959006282688649009==-- From Oleg Mon Jul 18 09:21:45 2011 From: Oleg To: inkscape-devel@lists.inkscape.org Subject: Re: [Inkscape-devel] & bug Date: Mon, 18 Jul 2011 13:21:19 +0400 Message-ID: <20110718092119.GA9638@...1145...> In-Reply-To: <1310967844.2262.444.camel@...2403...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3343150353765331641==" --===============3343150353765331641== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 18, 2011 at 07:44:04AM +0200, Tavmjong Bah wrote: > On Mon, 2011-07-18 at 02:25 +0400, Oleg wrote: > > Hi, all! > >=20 > > I use inkscape version 0.48.1 r (May 14 2011). Yesterday i saw a strange > > behaviour of a text element. Inkscape show me the text from the file: > >=20 > > <?xml version=3D"1.0" standalone=3D"yes"?> > > <svg width=3D"210mm" > > height=3D"297mm" > > version=3D"1.1" > > xmlns=3D"http://www.w3.org/2000/svg"> > >=20 > > <text x=3D"72mm" y=3D"38mm" dx=3D"0mm 2mm 4mm 2mm 4mm 2mm 2mm 2mm"> > > <title>some title > > 12072011 > > > > =20 > > > >=20 > >=20 > > as "1 20 72011", instead of "12 07 2011". If i delete the title element= or > > comment it, the text element show me as needed. > >=20 > > Is this a bug or may be i do anything wrong? > >=20 >=20 > I believe adding the title element like you have has introduced an extra > white space which is using up one of the dx values. Try > ... (no space/new line). I have similar problems > sometimes with DocBook. The XML specification of how white space is > treated is probably the root cause. >=20 > Tav Thank you for your reply. This doesn't help :-(. --===============3343150353765331641==--