Hi Urs.

Urs Reupke:
> However, some further questions have arisen:
> 1. In the previous draft (20041027) of SVG 1.2, there is
> a "progression-align" attribute to control the vertical alignment
> of the flowing text. This attribute appears not to be supported by 
> Batik. Is there a replacement, or is there currently no way of 
> controling vertical alignment?

No, progression-align is not supported.  In fact, it is not so easy to
align text not at the top when you have arbitrary shapes.

> 2. After replacing my old, cumbersome code to determine line breaks and 
> the corresponding text elements with flow text, I noticed that the 
> "opacity" attribute, when set on a parent "g" element, is not honored by 
> the flowing text - everything goes transparent, but the text remains opaque.
> Is this behaviour intentional? If so, can I set opacity directly on the 
> text or is the attribute ignored altogether?

Opacity works for me with this example, with the latest SVN:

  <svg xmlns="http://www.w3.org/2000/svg";
       version="1.2" width="100" height="100">
    <g opacity="0.5">
      <flowRoot>
        <flowRegion>
          <circle cx="50" cy="50" r="50" fill="yellow"/>
        </flowRegion>
        <flowDiv>
          <flowPara>
            This is the text that is going to be flowed over several lines.
          </flowPara>
        </flowDiv>
      </flowRoot>
    </g>
  </svg>

Cameron

-- 
 Cameron McCormack                      ICQ: 26955922
 cam (at) mcc.id.au                     MSN: cam (at) mcc.id.au
 http://mcc.id.au/                      JBR: heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to