Closed
Bug 267706
Opened 20 years ago
Closed 20 years ago
<text> not displayed in SVG file unless embedded in html
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jay, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
112 bytes,
image/svg+xml
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a5) Gecko/20041102
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a5) Gecko/20041102
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http:/www.w3.org/1999/xlink">
<text x="0" y="13" fill="red" text-anchor="start">Text</text>
</svg>
NB: file does display when embedded in html:
http://www.kevlindev.com/tutorials/basics/text/svg/index.htm
Reproducible: Always
Steps to Reproduce:
1.load svg file
2.
3.
Actual Results:
no text displayed
Expected Results:
text should be displayed
Reporter | ||
Comment 1•20 years ago
|
||
sorry if this is a dupe, struggling with search.
<text> displays when embedded as no longer native but asv3
Comment 2•20 years ago
|
||
This is WORKSFORME. If this is not the problem you are referring too, could you
please provide a clear testcase showing the problem?
Comment 3•20 years ago
|
||
Ah, or is this Mac specific? Since it works perfectly fine on Windows.
Keywords: testcase
Comment 4•20 years ago
|
||
Jonathan, are you using a libart build by chance? AFAIK these builds don't
support neither <text> nor <foreignObject>. Do you have access to a cairo build?
(check out http://artooro.spymac.net/firefox/ if you don't)
BTW, the standard SVG backend on Windows is GDI+, which supports both <text> and
<foreignObject>.
Comment 5•20 years ago
|
||
I see this on both Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b)
Gecko/20050409 libart and Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8)
Gecko/20050531 Galeon/1.3.21 cairo. I'm currently building 1.8 with cairo to test.
Comment 6•20 years ago
|
||
I'm also seeing this with Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b)
Gecko/20050603. Another curiosity is that text isn't aligned the way I specified
it in my SVG program (Inkscape). Every other program I have (xsvg, GIMP, someone
else's Opera) displays the images just fine. In light of the aforementioned, I'm
moving this to NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•20 years ago
|
||
Which OS, T Rowley? It seems that Windows builds don't have a problem with this
because they use GDI+ for their SVG rendering (or so I've read on another bug).
If FreeBSD, I'd be very interested in seeing your installed packages and
about:buildconfig.
Comment 9•20 years ago
|
||
WORKSFORME on FreeBSD 5.4-Release/5.3-Release (with libIDL and gtk2 installed)
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+
this is my ~/.mozconfig:
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-browser
ac_add_options --enable-application=browser
ac_add_options --enable-svg
ac_add_options --disable-shared
ac_add_options --enable-static
ac_add_options --disable-tests
ac_add_options --enable-strip
ac_add_options --enable-reorder
ac_add_options --enable-optimize=-Os
Comment 10•20 years ago
|
||
WORKSFORME linux, buildconfig:
--enable-application=suite --enable-crypto --disable-tests --disable-xpinstall
--disable-installer --disable-mailnews --disable-ldap --disable-composer
--disable-mathml --disable-accessibility --enable-xft
--enable-default-toolkit=gtk2 --disable-freetype2 --disable-xprint
--enable-debug --disable-optimize --enable-svg --enable-canvas
Comment 11•20 years ago
|
||
I'm seeing a lot of WORKFORMEs, and upon checking the first testcase and the
link, they WORKFORME too (except the last one, hmm). This image, however,
doesn't work. It should look like http://www.coitusmentis.info/pigritia1.png .
Updated•20 years ago
|
Attachment #185579 -
Attachment is obsolete: true
Comment 12•20 years ago
|
||
Seems I've been confusing a couple of other bugs with this one (291785 and
293582; I swear I couldn't find them when I did a search). Sorry for the spam,
everyone.
Comment 13•20 years ago
|
||
WORKSFORME on the mac - closing.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 14•20 years ago
|
||
congratulations Tor, things are really cooking with deer park!
You need to log in
before you can comment on or make changes to this bug.
Description
•