svg documents come white on browser

Post questions on how to use or achieve an effect in Inkscape.
User avatar
sanstitre
Posts: 4
Joined: Sat Aug 18, 2012 7:53 am

svg documents come white on browser

Postby sanstitre » Sat Aug 18, 2012 8:04 am

Hello,

I am new using Inkscape. I use it to create artistic pictures in svg format with the idea of having them scalable in large scale for printing.
The problem I've got: my files come white when opening them with firefox or downloading them to my website. Although the code can be seen, there is nothing to see about the document.

Is there anything wrong?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: svg documents come white on browser

Postby brynn » Sat Aug 18, 2012 10:09 am

Image
Welcome to InkscapeForum!

Not all browsers can display all SVG images. While Firefox can display more SVG than IE (in my experience), I have read that no browser is capable of displaying all SVGs. The only IE that supports SVG is IE9, and any IE before that cannot display any SVG. As long as you can see the image visible in Inkscape, or in some SVG capable viewer, then the content is intact, and the problem is the browser not being able to display it.

Is your version of Firefox current? If it's older, then possibly an update would make it possible to be displayed. Otherwise, I'm not sure what you could do, except not use a browser to view the images.

User avatar
sanstitre
Posts: 4
Joined: Sat Aug 18, 2012 7:53 am

Re: svg documents come white on browser

Postby sanstitre » Sat Aug 18, 2012 7:15 pm

I draw some of my svg pictures with Alchemy and there is no problem with them. I don't think this comes from firefox.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: svg documents come white on browser

Postby brynn » Sun Aug 19, 2012 7:46 am

Could you upload it to imgh.us? They accept and host SVG. Or host anywhere. Then post the link, and I can try looking (using Firefox).

User avatar
sanstitre
Posts: 4
Joined: Sat Aug 18, 2012 7:53 am

Re: svg documents come white on browser

Postby sanstitre » Sun Aug 19, 2012 8:13 pm

Here's the kind of document that I'm working on and have trouble with:
http://imgh.us/or.svg

For comparison, please find the kind of picture I do with Alchemy and that work well.
http://imgh.us/sanstitre51.svg

Thank you.

Ailurus
Posts: 115
Joined: Fri Oct 22, 2010 9:53 am
Location: The Netherlands
Contact:

Re: svg documents come white on browser

Postby Ailurus » Sun Aug 19, 2012 8:31 pm

Hmm, it appears to be something text-related. The first SVG is just a white background, larger than my actual screen (in both Chromium and Firefox, both newest versions, on Linux 32 bit).

When I open it up with Inkscape, and convert the original of those clones (a text object) to a path (by ObjectObject to Path), then it works fine. I'm not sure which part of the text-version prevents the text from displaying?

The second one works just fine, it seems to be some kind of modern art (not sure whether that would be an insult or a compliment) :D

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: svg documents come white on browser

Postby ~suv » Sun Aug 19, 2012 9:17 pm

sanstitre wrote:Here's the kind of document that I'm working on and have trouble with:
http://imgh.us/or.svg

Please read The same information is also provided in a prominent warning box in the section of the Inkscape manual about creating flowed text.

Short summary:
  • If you want to share the Inkscape document as SVG file (to be viewed in other SVG renderers) or want to publish it on the web, don't create flowed text unless needed (i.e. don't click-drag with the text tool, simple click once and enter the text right away, don't use 'Text > Flow into frame').
  • If you need to work with flowed text (or text flowed into a frame), convert the flowed text to regular text with menu 'Text > Convert to Text', save the result under a different name and use this copy to share/view in other SVG renderers.
    (Note: keep the original with the flowed text for later edits)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: svg documents come white on browser

Postby brynn » Sun Aug 19, 2012 9:35 pm

Oooohh, text!

User avatar
sanstitre
Posts: 4
Joined: Sat Aug 18, 2012 7:53 am

Re: svg documents come white on browser

Postby sanstitre » Mon Aug 20, 2012 12:06 am

The convert to txt option gives the right result.

Thank you everybody !


Return to “Help with using Inkscape”