Hello,
I'm sending a friend a SVG and he says he keeps getting errors with a missing fonts 'sans' and 'dungeon'. I opened the SVG and there indeed is a font section for 'sans' and 'dungeon'. But I've removed all the objects one by one and despite it now being an empty file it still has the font section referenced in the file. If I start with an empty file then there are no font tags in the SVG.
I've attached. Can somebody help please as I don't want to send my picture to the printers for it to fall over with font errors.
Note, at one point I was using various fonts but I converted them all using object to path.
Thanks.
font in svg but there is nothing there (bug?)
font in svg but there is nothing there (bug?)
- Attachments
-
- controlpanel_callatest2.svg
- (116.65 KiB) Downloaded 205 times
Re: font in svg but there is nothing there (bug?)
Hav
Last edited by druban on Wed May 29, 2013 7:49 pm, edited 3 times in total.
Your mind is what you think it is.
Re: font in svg but there is nothing there (bug?)
just an idea but how does it send fonts, if it sends a reference to a font on the computer and he doesnt have those fonts on his, that might give you the error message. Just a thought.
Last edited by matelot on Wed Apr 24, 2013 8:17 am, edited 1 time in total.
Re: font in svg but there is nothing there (bug?)
druban wrote:Have you tried using the file menu command 'vacuum defs' (or 'clean up document' in later versions'?) If that does not work there are more things to try but typically I would try that first. It depends on where the font reference is, because sometimes it persists in the object's style.
Yes there's in a font-style onto a flowRoot that is not cleaned when vacuuming defs.
It should be better with attached version.
Is this supposed to be a template ? There are a lot of guides (that will be only usefull in inkscape) and a sand texture (maybe you want to clean it too). And when you remove this then the doc is empty so it will not be really usefull for a non-inkscape user.
- Attachments
-
- controlpanel_callatest2.svg
- (116.62 KiB) Downloaded 142 times
Re: font in svg but there is nothing there (bug?)
[del]
Last edited by druban on Wed May 29, 2013 7:50 pm, edited 2 times in total.
Your mind is what you think it is.
Re: font in svg but there is nothing there (bug?)
Opened your file and cannot see anything.
What do you want with that? Change the font inside the svg?
There is a font-family section in the codes, that was set to sans;
in the attached version, it is changed to arial.
What do you want with that? Change the font inside the svg?
There is a font-family section in the codes, that was set to sans;
in the attached version, it is changed to arial.
- Attachments
-
- controlpanel_callatest2II.svg
- (116.65 KiB) Downloaded 142 times
Re: font in svg but there is nothing there (bug?)
Hello,
The blank file was just me removing absolutely everything to try and pin-point the font, i.e. I removed everything and still it had fonts. I did try and manually edit the XML but I must have wiped too much as it failed to load afterwards. I tried vacuuming and it doesn't remove them.
I've attached the real one if anyone could help, please, my finished arcade cabinet is resting on this
btw, there is a black rounded border rectangle (stroke only, no fill) that I used to hide the red around the outside. When I send my friend this file with this border in it fails to load in Illustrator, if I remove the border it works fine.
btw, please no comments on the quality, I'm not an artist
The blank file was just me removing absolutely everything to try and pin-point the font, i.e. I removed everything and still it had fonts. I did try and manually edit the XML but I must have wiped too much as it failed to load afterwards. I tried vacuuming and it doesn't remove them.
I've attached the real one if anyone could help, please, my finished arcade cabinet is resting on this

btw, there is a black rounded border rectangle (stroke only, no fill) that I used to hide the red around the outside. When I send my friend this file with this border in it fails to load in Illustrator, if I remove the border it works fine.
btw, please no comments on the quality, I'm not an artist

- Attachments
-
- controlpanel_clean.svg
- (55.19 KiB) Downloaded 162 times
Re: font in svg but there is nothing there (bug?)
Converted all text and outlines to path, this should work.
However there are some "sans" font styles defined in the codes, for a clipping.
However there are some "sans" font styles defined in the codes, for a clipping.
- Attachments
-
- controlpanel_clean4.svg
- (50.29 KiB) Downloaded 139 times
Re: font in svg but there is nothing there (bug?)
a
Last edited by druban on Wed May 29, 2013 7:51 pm, edited 1 time in total.
Your mind is what you think it is.
Re: font in svg but there is nothing there (bug?)
Thanks, very much appreciated. I'll try it tonight when I get home. Is this a bug not removing the font?
The only reason I ask about the faulit is my friend got the error using a Mac and if I send it to the printers as PDF they might get the same error and it might barf the printing or they might refuse to print it.
The only reason I ask about the faulit is my friend got the error using a Mac and if I send it to the printers as PDF they might get the same error and it might barf the printing or they might refuse to print it.
Re: font in svg but there is nothing there (bug?)
Just convert the text to path.
Re: font in svg but there is nothing there (bug?)
Thanks Druban, they look excellent. For your reference the text was white with a 30% opacity to make it look dark grey. But what's wrong with the file, there are no layers and when I do a paste in place everything is placed below this image?
It is meant to look like this, there are no fonts everything was object to path (I didn't know the difference between that and stroke to path so picked one at random):objects with a fill of ffffff should be white
Re: font in svg but there is nothing there (bug?)
s
Last edited by druban on Wed May 29, 2013 7:51 pm, edited 4 times in total.
Your mind is what you think it is.
Re: font in svg but there is nothing there (bug?)
Here is your image with text turned to paths, with no outlines but fill, with no opacity but opaque colours and with proper clipping, not with that black outline-thingy on top.
- Attachments
-
- controlpanel_clean6.svg
- (51.33 KiB) Downloaded 187 times
Re: font in svg but there is nothing there (bug?)
That's brilliant, thanks, you've all been a great help. You've saved me a bit more time still as I realised when outputting to PDF it lost all the opacity settings for the letters and turned them white 
Here's a picture of my final output to the printers, I'll post a picture when it's all done if anyone's interested.
Oh, here's the marquee that I also got some help from at this website.

Here's a picture of my final output to the printers, I'll post a picture when it's all done if anyone's interested.
Oh, here's the marquee that I also got some help from at this website.