Qt-interest Archive, December 2007
qtsvg and textarea tag
Message 1 in thread
Hi:
Is the textArea supported on qtsvg? beause using the example that the Svg 1.2
tiny shows on the svgviewer example on qt doesnt work.
this is the example:
---------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.2" baseProfile="tiny" viewBox="0 0 220 320"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Basic textflow</title>
<textArea font-size="25" font-family="Georgia" x="10" y="10" width="200"
height="300">Tomorrow, and tomorrow, and
tomorrow; creeps in this petty pace from day to day, until the last
syllable of recorded
time. And all our yesterdays have lighted fools the way to dusty
death.</textArea>
<rect x="5" y="5" width="210" height="310" stroke-width="3" stroke="#777"
fill="none"/>
</svg>
----------------------------------------------------------------------------------------------------------------------------------------
this makes the rect but no text... :(
How can I make it work or which tag is the correct for using on qt 4.3.3???
thanks
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
--
[ signature omitted ]
Message 2 in thread
On Sunday 16 December 2007 04:54:43 pm Esteban Zeller wrote:
> Hi:
>
> Is the textArea supported on qtsvg? beause using the example that
> the Svg 1.2 tiny shows on the svgviewer example on qt doesnt work.
>
> this is the example:
> ---------------------------------------------------------------------------
>------------------------------------------------------------ <?xml
> version="1.0" encoding="UTF-8"?>
> <svg version="1.2" baseProfile="tiny" viewBox="0 0 220 320"
> xmlns="http://www.w3.org/2000/svg"
> xmlns:xlink="http://www.w3.org/1999/xlink">
> <title>Basic textflow</title>
> <textArea font-size="25" font-family="Georgia" x="10" y="10"
> width="200" height="300">Tomorrow, and tomorrow, and
> tomorrow; creeps in this petty pace from day to day, until the last
> syllable of recorded
> time. And all our yesterdays have lighted fools the way to dusty
> death.</textArea>
> <rect x="5" y="5" width="210" height="310" stroke-width="3"
> stroke="#777" fill="none"/>
> </svg>
> ---------------------------------------------------------------------------
>------------------------------------------------------------- this makes the
> rect but no text... :(
>
> How can I make it work or which tag is the correct for using on qt 4.3.3???
>
> thanks
>
>
The "textArea" tag is indeed not implement, I'll make a task (the "text" tag
is). What makes me wonder, though, is that inkscape won't render the text in
your sample svg either.
Matthias
--
[ signature omitted ]
Message 3 in thread
El Monday 17 December 2007 12:04:20 Matthias Ettrich escribió:
> On Sunday 16 December 2007 04:54:43 pm Esteban Zeller wrote:
> > Hi:
> >
> > Is the textArea supported on qtsvg? beause using the example that
> > the Svg 1.2 tiny shows on the svgviewer example on qt doesnt work.
> >
> > this is the example:
> > -------------------------------------------------------------------------
> >-- ------------------------------------------------------------ <?xml
> > version="1.0" encoding="UTF-8"?>
> > <svg version="1.2" baseProfile="tiny" viewBox="0 0 220 320"
> > xmlns="http://www.w3.org/2000/svg"
> > xmlns:xlink="http://www.w3.org/1999/xlink">
> > <title>Basic textflow</title>
> > <textArea font-size="25" font-family="Georgia" x="10" y="10"
> > width="200" height="300">Tomorrow, and tomorrow, and
> > tomorrow; creeps in this petty pace from day to day, until the
> > last syllable of recorded
> > time. And all our yesterdays have lighted fools the way to dusty
> > death.</textArea>
> > <rect x="5" y="5" width="210" height="310" stroke-width="3"
> > stroke="#777" fill="none"/>
> > </svg>
> > -------------------------------------------------------------------------
> >-- ------------------------------------------------------------- this
> > makes the rect but no text... :(
> >
> > How can I make it work or which tag is the correct for using on qt
> > 4.3.3???
> >
> > thanks
> >
> >
>
> The "textArea" tag is indeed not implement, I'll make a task (the "text"
> tag is). What makes me wonder, though, is that inkscape won't render the
> text in your sample svg either.
Reading the docs on inkscape site, they say that the actual implementation
that they use, uses a diferent way of making a textArea, not the 1.2
implementation, but when I try to display an "inkscape text area" on the
qtsvg module, only displays an rect with fill... :(
>
> Matthias
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/
Esteban
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
--
[ signature omitted ]
Message 4 in thread
El Monday 17 December 2007 12:04:20 Matthias Ettrich escribió:
> On Sunday 16 December 2007 04:54:43 pm Esteban Zeller wrote:
> > Hi:
> >
> > Is the textArea supported on qtsvg? beause using the example that
> > the Svg 1.2 tiny shows on the svgviewer example on qt doesnt work.
> >
> > this is the example:
> > -------------------------------------------------------------------------
> >-- ------------------------------------------------------------ <?xml
> > version="1.0" encoding="UTF-8"?>
> > <svg version="1.2" baseProfile="tiny" viewBox="0 0 220 320"
> > xmlns="http://www.w3.org/2000/svg"
> > xmlns:xlink="http://www.w3.org/1999/xlink">
> > <title>Basic textflow</title>
> > <textArea font-size="25" font-family="Georgia" x="10" y="10"
> > width="200" height="300">Tomorrow, and tomorrow, and
> > tomorrow; creeps in this petty pace from day to day, until the
> > last syllable of recorded
> > time. And all our yesterdays have lighted fools the way to dusty
> > death.</textArea>
> > <rect x="5" y="5" width="210" height="310" stroke-width="3"
> > stroke="#777" fill="none"/>
> > </svg>
> > -------------------------------------------------------------------------
> >-- ------------------------------------------------------------- this
> > makes the rect but no text... :(
> >
> > How can I make it work or which tag is the correct for using on qt
> > 4.3.3???
> >
> > thanks
> >
> >
>
> The "textArea" tag is indeed not implement, I'll make a task (the "text"
> tag is). What makes me wonder, though, is that inkscape won't render the
> text in your sample svg either.
>
> Matthias
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body. List archive and information:
> http://lists.trolltech.com/qt-interest/
How can i simulate the textArea tag?
How can I calculate the space that a given text uses on the svg rendering to
split it?
thanks
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
--
[ signature omitted ]