SVG File Confusion

Issues related to previewing and publishing your web site.
Post Reply
User avatar
zinc
 
 
Posts: 2182
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

SVG File Confusion

Post by zinc »

Pablo;

Is there any way for WWB to detect the difference between an SVG file and an SVG variation of a font that has an SVG extension? In the options under the "File Type Output Folder", I have assigned the SVG extension to go to the "Fonts" folder because I want all the fonts to be there, Of course I have a lot of SVG (image) documents which I want to go to "Images" folder, but they end up in the "Fonts" folder.

Can it detect the difference? Is this even possible?

Z
Running WYSIWYG Web Builder since 2007...
User avatar
Bluesman
 
 
Posts: 1198
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: SVG File Confusion

Post by Bluesman »

zinc wrote: Mon Nov 07, 2022 10:42 pm Pablo;

Is there any way for WWB to detect the difference between an SVG file and an SVG variation of a font that has an SVG extension? In the options under the "File Type Output Folder", I have assigned the SVG extension to go to the "Fonts" folder because I want all the fonts to be there, Of course I have a lot of SVG (image) documents which I want to go to "Images" folder, but they end up in the "Fonts" folder.

Can it detect the difference? Is this even possible?

Z
zinc ... spot on :D I have wondered this every time I stumbled on the issue.... but forgot to ask in the forum.

But my take on it is that you probably don't nead to use svg fonts any more. Just ttf woff woff2 for fonts, but different with iconfonts I think.
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: SVG File Confusion

Post by Pablo »

There is no easy way to detect the difference.
But why are you still using SVG fonts?

Most browsers have stopped support for it a long time ago, because these files are usually huge.
https://caniuse.com/svg-fonts
User avatar
zinc
 
 
Posts: 2182
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: SVG File Confusion

Post by zinc »

@Buesman & @Pablo - I did not know that I no longer need it. In that case I can just use these:

ttf woff woff2

?
Running WYSIWYG Web Builder since 2007...
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: SVG File Confusion

Post by Pablo »

woff and woff2 will work in most browsers.
No, need for ttf
User avatar
zinc
 
 
Posts: 2182
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: SVG File Confusion

Post by zinc »

Pablo wrote: Tue Nov 08, 2022 8:09 am woff and woff2 will work in most browsers.
No, need for ttf
WOW! Did not know that. Thank you.
Running WYSIWYG Web Builder since 2007...
User avatar
Bluesman
 
 
Posts: 1198
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: SVG File Confusion

Post by Bluesman »

zinc wrote: Tue Nov 08, 2022 8:23 am
Pablo wrote: Tue Nov 08, 2022 8:09 am woff and woff2 will work in most browsers.
No, need for ttf
WOW! Did not know that. Thank you.
Now I got some confused "No need for ttf"?
I use this in the Windows OS for having in the fontlist of WWB? Can I install the woff in the Windows OS :o
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: SVG File Confusion

Post by Pablo »

You only need the TTF for Windows , not for the web.
So, you will need to install TTF in Windows so you can work with the font. But it's not needed for @font-face.
User avatar
zinc
 
 
Posts: 2182
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: SVG File Confusion

Post by zinc »

@pablo what you are saying is to ignore the other formats and just add these two? See attached.

https://ibb.co/rpxrSqn
Running WYSIWYG Web Builder since 2007...
User avatar
Pablo
 
Posts: 23442
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: SVG File Confusion

Post by Pablo »

Correct, unless you want to support very old browsers.
User avatar
zinc
 
 
Posts: 2182
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: SVG File Confusion

Post by zinc »

Pablo wrote: Tue Nov 08, 2022 4:37 pm Correct, unless you want to support very old browsers.
Great Thank you.

@bluesman hopefully it is clear for you too.
Running WYSIWYG Web Builder since 2007...
User avatar
Bluesman
 
 
Posts: 1198
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: SVG File Confusion

Post by Bluesman »

zinc wrote: Tue Nov 08, 2022 4:42 pm
Pablo wrote: Tue Nov 08, 2022 4:37 pm Correct, unless you want to support very old browsers.
Great Thank you.

@bluesman hopefully it is clear for you too.
:lol:
"Make My Day"

See my Website
Post Reply