Commit 15a120d
Merge ../birdfont-2.x
Changed files (1)
Diff
@@ -56,9 +56,7 @@ class SvgFontFormatWriter : GLib.Object { put ("""<svg>"""); // (metadata goes here)-- put ("<defs>");-+ string font_id = font_name.replace (" ", "-"); font_id = B.XmlParser.encode (font_id); @@ -68,10 +66,6 @@ class SvgFontFormatWriter : GLib.Object { put (@"<font id=\"$font_id\" horiz-adv-x=\"$(to_float (space_width))\" >"); put (@"<font-face units-per-em=\"$(to_float (units_per_em))\" ascent=\"$(to_float (ascent))\" descent=\"$(to_float (descent))\" />"); - put (@"<font-src>");- put (@"\t<font-face-name=\"XmlParser.encode ($font_name)\" />");- put (@"</font-src>");- // (missing-glyph goes here) // regular glyphs @@ -118,7 +112,6 @@ class SvgFontFormatWriter : GLib.Object { }); put ("</font>");- put ("</defs>"); put ("</svg>"); }