2

I am using Inkscape 0.91 for Ubuntu and am working on a template. The unit chosen for the document is pixels, the font size for the menu items Open Sans 14px all caps. But when I check the font size in the XML editor it states it is 17.5px . Why is that?

Screenshot:

Imagewize Homepage

And document properties:

Inkscape document properties

3

1 Answer 1

3

It seems fonts used to be in px, but earlier this year after a five year debate has been turned into pt. And on hover I finally saw it too:

font in pixels

As I chose pixels for the document as default and for dimensions Inkscape calculates a value in pixels and adds it to the source code. This leads to odd numbers sometimes like 28.6666 or the likes. This is rather unfortunate as I am using this for webdesign. Will have to think about the general setup here.

2
  • 2
    I read through that debate and I'm more confused than ever. From what I can tell, print users are arguing it should be pt, and web folks are arguing px. But in 2015, I think that just makes things worse...as both pt and px are used for both. Seems that inkscape should simply have the font size adhere to the document unit preference.
    – DA01
    Commented Sep 28, 2015 at 18:21
  • 1
    I asked in the linked issue to make the font unit modifiable. Commented Aug 23, 2018 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.