diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2011-05-26 19:15:24 +0000 |
|---|---|---|
| committer | Felipe C. da S. Sanches <juca@members.fsf.org> | 2011-05-26 19:15:24 +0000 |
| commit | db220be351455e127c239fa079215503efa7c961 (patch) | |
| tree | 5b7a721759ea068c2d2cb9df9223543be57afad4 | |
| parent | fix layers2svgfont extension not to depend on side bearing guides (diff) | |
| download | inkscape-db220be351455e127c239fa079215503efa7c961.tar.gz inkscape-db220be351455e127c239fa079215503efa7c961.zip | |
set font-family attribute in generated svgfont
(bzr r10230)
| -rw-r--r-- | share/extensions/layers2svgfont.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/extensions/layers2svgfont.py b/share/extensions/layers2svgfont.py index e3b925aa7..de3617fa2 100644 --- a/share/extensions/layers2svgfont.py +++ b/share/extensions/layers2svgfont.py @@ -76,6 +76,7 @@ class Layers2SVGFont(inkex.Effect): font.set("horiz-origin-y", str(baseline)) fontface = self.get_or_create(font, inkex.addNS('font-face', 'svg')) + fontface.set("font-family", "SVGFont") fontface.set("units-per-em", str(setwidth)) fontface.set("cap-height", str(caps)) fontface.set("x-height", str(xheight)) |
