My old svg file work good, but I have mistake in positions, so I need to move entire layer. After layer reposition all fonts are dropped from Liberation Sans to something bold.
I tried to investigate the problem and have no luck with it. On this screen zero on the left side is wrong font. Other zeroes are right.
Here is XML code for wrong zero:
- Code: Select all
font-size:52.00250165px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:none;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans, Normal';writing-mode:lr;
And this is code for normal zero:
- Code: Select all
font-size:52.00214767px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Liberation Sans;-inkscape-font-specification:Liberation Sans
Here is my font-mapper code:
- Code: Select all
var font_mapper = func(family, weight)
{
if( family == "Liberation Sans" and weight == "normal" )
return "LiberationFonts/LiberationSans-Regular.ttf";
};
Also it seems, that old SVG file was saved with inkscape:version="0.48.4 r9939", and new file is saved with inkscape:version="0.91 r".
Where is the error?