Font Size and SVG

Post about projects that use Inkscape for web design.
Ged
Posts: 50
Joined: Wed Sep 16, 2015 3:01 pm

Font Size and SVG

Postby Ged » Fri Mar 18, 2016 3:59 pm

As I understand SVG, graphics can be stretched without spoiling appearance. So, does that mean I can draw a small picture with small font size, then double its size and put it on the Internet?

Would it be preferable to draw a bigger picture with bigger fonts to start with? Or doesnt it make any difference?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Font Size and SVG

Postby Lazur » Fri Mar 18, 2016 4:09 pm

Hi.

You can set up the number of digits being used in the preferences (Shift+Ctrl+P).
That is, the only real limitation you have there -like, if your drawing is soo large, tiny details may not come through.
But for using on the web you hardly face a problem of it.

Here is a topic on embedding svg-s on a webpage.

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

Re: Font Size and SVG

Postby brynn » Fri Mar 18, 2016 5:37 pm

It doesn't make any difference! You can draw the original image at whatever size you want. And it can be scaled without losing any quality, larger or smaller, it doesn't matter.

However, note that raster images can be imported into the SVG file. If your image contains any raster images or certain content (such as filters), those parts will become distorted when scaled.

JoseElijah
Posts: 3
Joined: Sat Dec 10, 2016 6:24 am

Re: Font Size and SVG

Postby JoseElijah » Sun Dec 18, 2016 5:27 am

I played around abit with your Pen, and noticed that the SVG part shows up if you remove the div’s surrounding it. Does anyone know why this is?


Return to “Inkscape & the Web”