Text positioning different in Windows and Linux

Post questions on how to use or achieve an effect in Inkscape.
daviddoria
Posts: 56
Joined: Fri Oct 03, 2008 7:57 am

Text positioning different in Windows and Linux

Postby daviddoria » Sat Mar 10, 2012 11:26 am

When I open this file
http://daviddoria.com/Uploads/house.svg

in the same version of Inkscape in Windows:
http://daviddoria.com/Uploads/windows.jpg

and Linux:
http://daviddoria.com/Uploads/linux.jpg

the text is positioned differently (as you can see in the screenshots - the "d + epsilon" near the lines on the left of the house). Is there any way to make this behave identically across platforms?

Thanks,

David

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

Re: Text positioning different in Windows and Linux

Postby ~suv » Sat Mar 10, 2012 5:17 pm

daviddoria wrote:Is there any way to make this behave identically across platforms?

You have used the generic font 'Sans' for the text: this is not specifying an exact font to be used, but asks the font backend of the local system for the default sans-serif font:
on unix/linux-based systems - depending on the local font configuration - the actually used font is usually 'Bitstream Vera Sans' or 'DejaVu Sans', whereas on Windows 'Sans' is rendered in 'Arial'.

Try using a specific font installed on both systems.

daviddoria
Posts: 56
Joined: Fri Oct 03, 2008 7:57 am

Re: Text positioning different in Windows and Linux

Postby daviddoria » Mon Mar 12, 2012 11:18 am

Yep, works like a charm, thanks!


Return to “Help with using Inkscape”