diff options
author | knittl <knittl@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2010-04-05 17:57:00 +0000 |
---|---|---|
committer | knittl <knittl@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2010-04-05 17:57:00 +0000 |
commit | b08938b86c83df3760774aa7a8c0137c0451f6d8 (patch) | |
tree | baa5b3824d53323132e2d5bbdebd3c4af04c19ee /grafik | |
parent | ef015937230e1cc3d95591f57c474b9d16a82021 (diff) |
Kleine Verbesserungen für ref2svg.pl
XML-Namespace damit Firefox das svg darstellen kann und die Angabe von
Linux Biolinum Opentype mit Linux Biolinum als Fallback
Signed-off-by: Christian Kluge <ckfrakturfreak@web.de>
git-svn-id: https://svn.neo-layout.org@2281 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'grafik')
-rwxr-xr-x | grafik/ref2svg/ref2svg.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grafik/ref2svg/ref2svg.pl b/grafik/ref2svg/ref2svg.pl index f0c0790..8d362ed 100755 --- a/grafik/ref2svg/ref2svg.pl +++ b/grafik/ref2svg/ref2svg.pl @@ -128,6 +128,7 @@ sub start_svg { 'http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd'); $writer->startTag('svg', height => $height, width => $width, + 'xmlns' => 'http://www.w3.org/2000/svg', 'xmlns:xlink' => 'http://www.w3.org/1999/xlink'); } sub end_svg { @@ -142,7 +143,7 @@ sub create_defs { # style information $writer->dataElement('style', ' text.common { - font-family:Linux Biolinum; + font-family:Linux Biolinum O, Linux Biolinum; font-style:normal; font-variant:normal; font-stretch:normal; |