Am Montag, 10. Mai 2010 schrieb Vincent van Ravesteijn:
> Op 10-5-2010 20:42, Rainer Dorsch schreef:
> > Hello,
> >
> > I was following
> >
> > http://wiki.lyx.org/Tips/UseInkscapeSVGImages
> >
> > to setup lyx 1.6.5 with svg support (happy to read that 1.6.6 will
> > support it out of the box).
> >
> > For some reason I get the svg's converted in bitmaps, when I include them
> > in pdf. Is that expected?
> >
> > Here is an example:
> >
> > http://bokomoko.de/~rd/lyxsvgtest/
>
> The test.svg file already looks bitmapped. After removing
> "font-family:Sans;", the svg is rendered properly.

What do you use to render the svg? In Inkscape it looks rendered properly...

Also in firefox and konqueror the svg looks ok.

You address the right issue though it remains confusing for me:

What does not work (complete file 
http://bokomoko.de/~rd/lyxsvgtest/drawing.svg ) :

    <text
       xml:space="preserve"
       
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
       x="191.83496"
       y="114.67273"
       id="text2818"><tspan
         sodipodi:role="line"
         id="tspan2820"
         x="191.83496"
         y="114.67273">Sample text for demonstration</tspan></text>

What works though (complete file 
http://bokomoko.de/~rd/lyxsvgtest/drawing3.svg ) :

    <text
       xml:space="preserve"
       
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"
       x="191.83496"
       y="114.67273"
       id="text2818"><tspan
         sodipodi:role="line"
         id="tspan2820"
         x="191.83496"
         y="114.67273"
         
style="-inkscape-font-specification:Sans;font-family:Sans;font-weight:normal;font-style:normal;font-stretch:normal;font-variant:normal">Sample
 
text for demonstration</tspan></text>


I used Inkscape 0.47 opened the file changed the font, changed it back and 
saved. I seems I created the svg which is not working with inkscape 0.46.

Does anybody understand if the first version is technically not correct?

> Does the pdf look better then ?

Yes, it does.

Thanks,
Rainer


-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdor...@web.de
jabber: rdor...@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to