summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknittl <knittl@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-04-05 17:57:00 +0000
committerknittl <knittl@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-04-05 17:57:00 +0000
commitb08938b86c83df3760774aa7a8c0137c0451f6d8 (patch)
treebaa5b3824d53323132e2d5bbdebd3c4af04c19ee
parentef015937230e1cc3d95591f57c474b9d16a82021 (diff)
downloadneo-layout-b08938b86c83df3760774aa7a8c0137c0451f6d8.tar.gz
neo-layout-b08938b86c83df3760774aa7a8c0137c0451f6d8.tar.bz2
neo-layout-b08938b86c83df3760774aa7a8c0137c0451f6d8.zip
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
-rwxr-xr-xgrafik/ref2svg/ref2svg.pl3
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;