honyk schrieb am 31.03.2012 08:07:
>> The only problematic result is in IE9. Unfortunately there no even
>> way how to report it. This browser won't be simply supported by my app :-(
>> http://hroska.cz/other/test_transform2.svg
> MSIE9 is simply buggy when rendering text-anchor values other than '
Francis Hemsher schrieb am 18.10.2011 22:16:
> wrote:
>> Yeah, this is ancient... but...
>> Did you ever get a solution to this:
>> A way to turn off the default ASV text highlighting functionality?
Perhaps you could place an transparent rect over the text to grab the
events :)
> > You need to
wrote:
>
> Yeah, this is ancient... but...
>
> Did you ever get a solution to this:
> A way to turn off the default ASV text highlighting functionality?
You need to do this:
> evt.preventDefault()
> in all your event handlers (mousedown, mouseup, mousemove).
>Peter
Hi Thomas,
I also use this
ge-
> > From: Antoine Quint [mailto:antoine@g...]
> > Sent: Thursday, January 10, 2002 2:52 AM
> > To: svg-developers@y...
> > Subject: RE: [svg-developers] Re: text selector in ASV
> >
> >
> > > In ASV you can divide text into elements, inst
Hi Doug
--- In svg-developers@yahoogroups.com, Doug Schepers wrote:
>
> Hi, Andreas-
>
> Andreas wrote (on 3/26/11 10:40 AM):
> > Text selection works fine in any browser (yes in Fox4 too, but you can't
> > see the selection).
>
> I can't select discrete runs of text in FF4. I can only do sele
Thank You all,
>What it does: The letters are positioned 200 units apart (with
>x="0,200,400,600"). >The text is shown in a clipping rectangle so that only
>one (or no) letter is visible at a >time. The animation moves the text string
>left in steps of 100 units so that on every >second animati
--- In svg-developers@yahoogroups.com, "Chethan K.R" wrote:
>
> I wanted to animate alphabets every 2 secs.What i could learn from browsing
> internet on svg is to have seperate text element for each alphabet. I don't
> want to use any script.
> I am looking for something like array of text { A
hi.
> This problem was also fixed in Opera 9.5.
ah! i didn't pay attention to the version number in Erik's message. but
call it beta, as it obviously is...
text displays better but somehow smaller in opeara as designed in
Illustrator and shown in ASV:
http://www.carto.net/temp/svgdev/jpgs/fon
Hi André!
This problem was also fixed in Opera 9.5. You can test yourself by
downloading Opera 9.5 (weekly snapshot) from http://my.opera.com/
desktopteam/blog/
I can confirm that in Opera 9.2x the text displayed bigger, but with
9.5 it is fixed. Displays the same size as Batik/Firefox
Andrea
hello erik
here is an example with nested svgs where inner and outer svgs have 100%
width and hight:
http://www.carto.net/temp/opera/test_text_opera_inner_100pc.svg
and maybe it is not related to nested svg, as i see now, an outer text
also is too large. it seems to be related to the "px" in th
Hi André,
Your example looks just fine in Opera 9.50 (compared with Batik 1.7).
At this point I think it's mostly security- and other critical bugfixes
that go into the 9.2x version.
Cheers
/Erik
On Tue, 29 Jan 2008 11:36:31 +0100, André M. Winter <[EMAIL PROTECTED]>
wrote:
> hi,
>
> are th
hi,
are there any news here? seems as if Opera (now v9.25) ignores nested
SVG for font sizes. the shown size just is the same as if the text
sits in the root element.
bug or feature?
andré
--- In svg-developers@yahoogroups.com, "simonshutter" <[EMAIL PROTECTED]> wrote:
>
> Jonathan,
>
> But
Hi Jeff,
Text wrapping in a rectangular area is in SVG Tiny 1.2 (http://
www.w3.org/TR/SVGMobile12/text.html#TextInAnArea)
Opera 9.5 (alpha version), available from http://my.opera.com/
desktopteam/blog/, already supports textarea. If you look at this
file (http://www.w3.org/TR/SVGMobile12/examp
Hi Jerry,
It seems like your example uses some Adobe proprietary font inclusion, not a
readable
SVG font. Newer editions of Adobe Illustrator (CS2 and CS3) and CorelDraw can
export SVG
fonts. Alternatively, Batik comes with a tool to convert true type fonts to SVG
fonts. The
free fontforge a
Hello,
I created a text input widget available from
http://www.carto.net/papers/svg/gui/textbox/
with an example here:
http://www.carto.net/papers/svg/gui/textbox/index.svg
This works in ASV, Opera (with some restrictions), Batik, Firefox 3,
Firefox 2 (with restrictions).
The main problem wit
I would suggest an absolute positioned iframe or similar. Then make sure
that is displayed on top, and do the form in HTML.
That would most likely work in FF, Opera and Safari.
Hope this helps
/Erik
On Tue, 19 Jun 2007 01:27:18 +0200, sirlemmingviii <[EMAIL PROTECTED]>
wrote:
> I had hoped s
I had hoped someone more knowledgeable would answer this, but in
short, you don't have many options. SVG 1.2 will support text input,
but most viewers don't implement it yet, and certainly not fully.
One workaround is to use a Javascript input dialog prompt. It's not
too hard to have the prompt
Same for Op9.21 (xp)
--- In svg-developers@yahoogroups.com, "simonshutter" <[EMAIL PROTECTED]>
wrote:
>
> It seems that for Op9.10, when you specify a font-size of <2.,
> the font-size scaling reverts to a fixed size (perhaps 16 screen
> units?).
>
> font-size 2.0001 is fine, 1. is not
Jonathan,
But not on Op9.21 (XP), which I just upgraded to. Any font-size less
than 2.000 is not scaled appropriately.
If Ockham's razor == K.I.S.S. then point taken but I'd rather not
have to scale all text in the units of my root svg element.
Simon
--- In svg-developers@yahoogroups.com, "
It seems that for Op9.10, when you specify a font-size of <2.,
the font-size scaling reverts to a fixed size (perhaps 16 screen
units?).
font-size 2.0001 is fine, 1. is not.
Simon
--- In svg-developers@yahoogroups.com, Erik Dahlström <[EMAIL PROTECTED]> wrote:
>
> On Sun, 20 May 2007 2
Samy
Thank you. Not sure what I was thinking of - the solution is obvious
in retrospect - I was just barking up the wrong tree.
BTW b22gate refers to Gate B22 at some airport I was at when I created
the account - no relation to Bill at all.
b22
--- In svg-developers@yahoogroups.com, "Samuel Da
Hi Bill Tutu Gates,
Usually it does not help to invent rules, better stick to the
existing ones. If you want to get the text centered midway along the
path then use:
gaga
Have fun, Samy
--- In svg-developers@yahoogroups.com, "b22gate" <[EMAIL PROTECTED]> wrote:
>
> Hi
> I'm tryi
Thanks Domenico. I'm going to give this a try.
Tristan
On 2/24/06, domenico_strazzullo <[EMAIL PROTECTED]> wrote:
>
> --- In svg-developers@yahoogroups.com, "drthmlyons"
> <[EMAIL PROTECTED]> wrote:
> >
> > I'm attempting to create an SVG document where the text in the
> > document defines the d
--- In svg-developers@yahoogroups.com, "drthmlyons"
<[EMAIL PROTECTED]> wrote:
>
> I'm attempting to create an SVG document where the text in the
> document defines the documents size, rather than a declaration like
>
> So that just by changing the text, I get documents of different size.
> Is s
Thanks for the tip. I did find a different way of doing it, I hope that
it is compatible FF 1.5. I implement it in my latest version of
textBox.zip and uploaded it. I worked a few bugs also.
Sean
pilatfr wrote:
>--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>
>
>>
--- In svg-developers@yahoogroups.com, Sean <[EMAIL PROTECTED]> wrote:
>
> Is there a way to click on a text element and return and index of
where
> in the text the click occurred? Thanks.
>
> Sean
You can use getCharNumAtPosition(SVGpoint)
* create SVGPoint and give x and y values from your p
I'm programming in Java.
I have an XML input file (that contains some informations) and I have
to create a SVG file (output).
I use dom4j library (www.dom4j.org) to open the XML file, save the
information and create the SVG file (as it is a xml file).
Now I only have to do a thing: calculate the st
--- In svg-developers@yahoogroups.com, "blackguna" <[EMAIL PROTECTED]>
wrote:
> Where can I find and downlaod the library .jar including the package
> org.w3c.dom.svg?
That is only some interface definitions and not a library. I don't
know in which context you use SVG and program the SVG DOM, I
Thanks!
Where can I find and downlaod the library .jar including the package
org.w3c.dom.svg?
--- In svg-developers@yahoogroups.com, "Martin Honnen"
> There is a method getComputedTextLength exposed on text and tspan
> elements so get the text element you have and call the method e.g.
> docum
--- In svg-developers@yahoogroups.com, "blackguna" <[EMAIL PROTECTED]>
wrote:
> How can I calculate the length of the text in pixel?
>
> I read http://www.w3.org/TR/SVG11/text.html but i don't understand how
> calculate this lenght.
There is a method getComputedTextLength exposed on text and tsp
Jeff Schiller schrieb:
> >
> > > Next, are you transforming the
> > > element for each of the 500 elements?
> >
> > Yes, is there anything wrong with that?
> >
>
> I guess "wrong" is a relative term here. You've got 500 planets and
> you have to position each circle and text individually. The t
--- In svg-developers@yahoogroups.com, Thomas Liesner <[EMAIL PROTECTED]>
wrote:
>
> Jeff Schiller schrieb:
>
> >
> >
> >
> > First problem is that cx/cy are not valid attributes of the text
> > element, it's simply x/y.
>
> Thanks ;) Stupid me...
>
> > Next, are you transforming the
> > ele
Jeff Schiller schrieb:
>
>
>
> First problem is that cx/cy are not valid attributes of the text
> element, it's simply x/y.
Thanks ;) Stupid me...
> Next, are you transforming the
> element for each of the 500 elements?
Yes, is there anything wrong with that? I know i should probably define
--- In svg-developers@yahoogroups.com, Thomas Liesner <[EMAIL PROTECTED]>
wrote:
>
> Hello all,
>
> i have the following simple (but large) svg:
>
> http://www.alphabot.de/apache2-default/planetnames.svg
>
> The problem is the text-element inside the g-elements like in this
excerpt:
>
>
>
Hi Niko. As per the spec:
http://www.w3.org/TR/SVG11/text.html#TextAlignmentProperties
reitrethnretkre
Cheers,
Alastair
--- In svg-developers@yahoogroups.com, nicolas boire <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I would like to put a text align on the right?
>
> Exemple:
>
> ---
--- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]>
wrote:
> wi2fish wrote:
>
> > Hi all,
> >
> > for graphics objects I can always say "10%" if I want it to be
10% of
> > the screen width or height. Can I do that for text, too?
> >
> > Setting textLenght="60%" and lengthAdjus
Thank you very a lot for your help.
ps:
> Hi Peruzzi,
Peruzzi is my surname. My name is Alessandro ;-)
I have another problem but i write another message with a different
subject text.
Alessandro Peruzzi
--- In svg-developers@yahoogroups.com, Thomas DeWeese
<[EMAIL PROTECTED]> wrote:
> Hi
Hi Peruzzi,
Peruzzi Alessandro wrote:
> now when i calculate for example... width
> with this code:
>
> Rectangle rect = ctx.getGraphicsNode(t1).getBounds().getBounds();
> int width = (int)(ctx.getGraphicsNode(t1).getBounds().getWidth());
>
> I have a different result
> rect.width no equals t
Hi, this solution is ok.
But i have a question
in my code if I generated a TextElement
.
.
.
UserAgent userAgent;
DocumentLoader loader;
BridgeContext ctx;
GVTBuilder builder;
userAgent = new UserAgentAdapter();
loader= new DocumentLoader(userAgent);
ctx = new BridgeContext(use
Hi Peruzzi,
Peruzzi Alessandro wrote:
> Thanks but my program generated same errors.
You need to boot the 'graphics' part of the
SVG Document. Without this the extended SVG DOM
mostly won't work.
UserAgent userAgent;
DocumentLoader loader;
BridgeContext ctx;
no,
this field not exist
I dont understand why I have NullPointerException
t1.getBBox() return an instance but t1.getBBox().getWidht() return
NullPointerException
I hope you find for me a solution.
Thanks
Alessandro
--- In svg-developers@yahoogroups.com, Holger Will <[EMAIL PROTECTED]>
wr
Hi Alessandro
>System.out.println("t1="+((SVGOMTextElement)t1).getBBox().getWidth());
just use:
getBBox().x
getBBox().y
getBBox().width
getBBox().height
hth
Holger
-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "
Thanks but my program generated same errors.
example:
in a main program
import org.w3c.dom.*;
import org.w3c.dom.svg.*;
import java.io.*;
import org.apache.batik.dom.*;
import org.apache.batik.dom.util.*;
import org.apache.batik.dom.svg.*;
import org.apache.batik.util.*;
public class TestSVG
Narcis Vasiliu wrote:
> Thank you very much, Aashish.
>
> What is HTH?
Google is your friend:
http://www.google.fr/search?q=hth+ymmv+fyi+afaik
For example:
http://www.loganact.com/tips/afaik.html
HTH :-P
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- For servers
Thank you very much, Aashish.
What is HTH?
Narcis
--- Aashish Singhvi <[EMAIL PROTECTED]> wrote:
>
> --- In svg-developers@yahoogroups.com, Narcis
> Vasiliu
> <[EMAIL PROTECTED]> wrote:
> > It is a way to get the dimensions of a text (in
> > milimeters) rendered by Adobe SVG Viewer?
> >
>
--- In svg-developers@yahoogroups.com, Narcis Vasiliu
<[EMAIL PROTECTED]> wrote:
> It is a way to get the dimensions of a text (in
> milimeters) rendered by Adobe SVG Viewer?
>
If you a text element looks like this in your svg element:
WHATTHEHELL
Then in your javascript, you can get close wi
Sorry - I didn't realize there were any responses to my message.
In Illustrator 10, I had to use align left and set the left side of the
text where I would like the center to be. Then I added (in Illustrator)
some onload Javascript to the text which sets text-anchor="middle".
example:
onload="
I see what you tring to do.
If you are programatically changing text contents why
not add the center align attribute? you might need to
shift the text at the same time to compansate for the
center align effect.
--- I'lam Mougy <[EMAIL PROTECTED]> wrote:
> Too bad, there is no way to do that in I
Too bad, there is no way to do that in Illustrator.
I am curious, why do you need this?
--- sara_j_porter <[EMAIL PROTECTED]> wrote:
>
> Can you give us an example of the image?
>
> -Sara Porter
>
> --- In svg-developers@yahoogroups.com, "wsdickerson"
>
> <[EMAIL PROTECTED]> wrote:
> >
> >
Can you give us an example of the image?
-Sara Porter
--- In svg-developers@yahoogroups.com, "wsdickerson"
<[EMAIL PROTECTED]> wrote:
>
> Is there a way to set text-anchor="middle", "start" or "end" in
> Illustrator 10? I've tried paragraph align left, center and right
> but the text is le
Hi Helena
You can also use JS todo it.
for example, imagine youhave a text element in your SVG :
using
document.getElementById('MyText').firstChild.data="My new text"
you will be able to set text in your element.
I put an empty space in the definition; This is necessary, else the
text eleme
51 matches
Mail list logo