forked from neo/neo-layout
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>
This commit is contained in:
parent
d2ac190733
commit
1b1a0d67ad
|
@ -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 New Issue