Hi Mark,

Mark <[EMAIL PROTECTED]> wrote on 04/13/2008 07:20:27 PM:

> [EMAIL PROTECTED] wrote:

> First of all, the whole rectangle went black.  I added 'fill="white"' on 

> the rectagle and then I could see the text again, but of course I need 
> that background to transparent, not white.  I found the release note 
> explaining the rendering of shapes inside flowRegion per SVG 1.2, but I 
> have not been able to get my transparent background back... neither 
> 'visibility="hidden"' nor setting fill and stroke to "none" have any 
> effect, and I've double checked this a couple of times.

   Our examples use visibility="hidden" and that works, so I can't
imagine why it wouldn't work for you.  How are you adding the attribute?

> > I would be curious if the flow text renders correctly if you
> > convert the font to an SVG font, and use that (then we don't use
> > the platform text rendering).
> 
> Well, I'm not sure how to do that (?).  I tried just removing the 
> 'font-family' attribute.  I get some kind of sans-serif font then (don't 

> know if it's coming from the platform font handler or not), but the text 

> flow problem is still there.

   There are a number of ways to do that.  The easiest would be
to reference one of the SVG fonts from the Batik distribution,

    <font-face font-family="StrokeFont">
      <font-face-src>
        <font-face-uri xlink:href="strokeFont.svg#stroke"/>
      </font-face-src>
    </font-face>

  Where 'strokeFont.svg' is the file in the samples directory from
Batik.  Then you can use font-family='StrokeFont' to reference that
font.

> >    Also you asked about installing a different version of Java
> > on a Mac, take a look in /Library/Java or
> > /System/Library/Frameworks/JavaVM.framework/Versions
> 
> Right... Current already points to Java 1.5, so I don't know if there's 
> much I can do that way.

   Well you might try a different version, even if it's older.
Or you might see if you can get the version from the machine that
works for your machine that doesn't...

Reply via email to