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] svg, pdf, png, and jpg callouts 1-99


oh, I thought perhaps you might have set the attribute on the whole
image (by accident) - which is not the case since batik and
illustrator both showing your image


On 5/31/07, David Cramer (Tech Pubs) <dcramer@motive.com> wrote:
> Correct. I had a square that I had used to align the number in the
> original image I'd worked up in Illustrator. It had opacity="0", which
> Batik observes but XEP doesn't, so in XEP that translucent square wasn't
> translucent. I just removed it since it was cruft anyway.
>
> The takeaway is that if you make something translucent in Illustrator
> and use the svg in an XEP-rendered pdf, the translucent elements won't
> be translucent in the pdf, tho the'll look fine in the rasterized
> versions of the image. I think I'd run across that before and forgot
> about it.
>
> David
>
> > -----Original Message-----
> > From: chris.chiasson@gmail.com
> > [mailto:chris.chiasson@gmail.com] On Behalf Of Chris Chiasson
> > Sent: Thursday, May 31, 2007 12:17 PM
> > To: David Cramer (Tech Pubs)
> > Cc: docbook-apps@lists.oasis-open.org
> > Subject: Re: [docbook-apps] svg, pdf, png, and jpg callouts 1-99
> >
> > wouldn't opacity=0 be like saying, "make this invisible"?
> >
> > On 5/31/07, David Cramer (Tech Pubs) <dcramer@motive.com> wrote:
> > >
> > >
> > > I figured out the reason the svg images weren't working and
> > fixed them.
> > > Apparently XEP doesn't support opacity="0" in svgs.
> > >
> > > David
> > >
> > >
> > >  ________________________________
> > >  From: David Cramer (Tech Pubs)
> > > Sent: Thursday, May 31, 2007 10:56 AM
> > > To: docbook-apps@lists.oasis-open.org
> > > Subject: [docbook-apps] svg, pdf, png, and jpg callouts 1-99
> > >
> > >
> > >
> > > I found myself wanting more than 10 callouts and wanting
> > them too look
> > > crisp in pdf, so I made some svg callouts (and used Batik
> > to convert
> > > them to other formats for use in html). I'm actually using the pdf
> > > version of the callouts in my output because XEP wasn't
> > rendering the
> > > svgs for me. It renders other svgs fine, but I don't have
> > time right
> > > now to mess with it. However, it occurs to me that a better
> > solution
> > > would be to have the DocBook xsls write the svg directly
> > into the fo.
> > > In fact, to make these, I just made one svg with a circle and a
> > > character in the middle, then looped 99 times using sed to
> > number the
> > > callouts. Be aware tho that I manually tweaked #1 and #4
> > just slightly to make them appear more centered and legible.
> > >
> > > In any case, if someone wants to use them as is or work
> > with this some
> > > more, e.g. futz with the sizing to get it just right...mine are a
> > > little bigger than the current callouts or incorporate them
> > into the
> > > DocBook xsls so they put the svg directly into the fo, feel free:
> > > http://www.thingbag.net/docbook/callouts.zip
> > >
> > > Btw., if you ever manage to use all 99 callouts in a
> > programlisting,
> > > I'd love to see it :-)
> > >
> > > David
> >
> >
> > --
> > http://chris.chiasson.name/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>


-- 
http://chris.chiasson.name/


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