OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] About callout icons


Le dimanche 16 janvier 2005, Bob Stayton disait :

>mediaobjectco isn't supported in the XSL stylesheets.  See:
>
>http://lists.oasis-open.org/archives/docbook/200412/msg00047.html

Argh !

So, I made something crazy.

I take my screenshot, and with svg, I've put the callout icons (which
are svg too) in my bitmap image. It work's and the result is ok (I take
a look with batik).

But when I try to include my result image (a svg one with the bitmap
background) it appears very small and unreadable inside my pdf file :-(

But if I use a bitmap file (generated by batik) the size is correct
inside my pdf file.

This is my svg file to put the callout icons over the background inage :

<?xml version="1.0" encoding="iso-8859-1" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.
dtd">
<svg xml:space="preserve" viewBox="0 0 711 534"
preserveAspectRatio="xMidYMid meet">
<g id="bitmap">
    <image x="0" y="0" width="711" height="534"
xlink:href="./Console_main_screen.jpg"/>
</g>
<g transform="translate(115,505)"
style="font-family:serif;font-size:10;font-weight:bold">
    <circle cx="8" cy="8" r="7"
style="stroke:#334D89;fill:#334D89;stroke-width:1"/>
    <g style="stroke:none;fill:white">
    <text id="number" text-anchor="middle" x="8" y="11.5">1</text>
    </g>
</g>
<svg>

My background image is Console_main_screen.jpg which is 711x534 pixels
size.

And I include it in my Docbook file like this :

<graphic fileref="images/Chapitre2/console.svg" format="SVG"
id="Console_Main_Screen"/>

I tried to add width and contentwidth in the graphic anchor put nothing
change :-(

If somebody could help me...

Thanks in advance,
Jacques
-- 
Il y a deux choses infinies. L'univers et la bétise humaine. Toutefois je ne suis pas
sûr de ce que j'avance en ce qui concerne l'univers.

                                                                               Albert E. Physicien.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]