From b08938b86c83df3760774aa7a8c0137c0451f6d8 Mon Sep 17 00:00:00 2001 From: knittl Date: Mon, 5 Apr 2010 17:57:00 +0000 Subject: Kleine Verbesserungen für ref2svg.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 git-svn-id: https://svn.neo-layout.org@2281 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- grafik/ref2svg/ref2svg.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3