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
This commit is contained in:
parent
ef01593723
commit
b08938b86c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue