xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew L. Avizinis" <...@gleim.com>
Subject dominant-baseline attribute
Date Wed, 06 Aug 2003 14:36:29 GMT
Hello all,
   When rendering the following part of an fo document through FOP
0.20.5, dominant-baseline seems to have no effect.  When I copy the SVG
portion to its own file and view it with the Adobe viewer it looks as
expected; in the Batik 1.5 Squiggle viewer it, again, seems to have no
effect.  The same is true if I use alignment-baseline instead of

                <svg xmlns="http://www.w3.org/2000/svg"
height="141.7323" width="283.4646">
                  <g style="fill:none; stroke:#FF0000">
                    <rect height="139.7323" width="281.4646 " y="1" x="1"/>
                  <text stroke="rgb(255,0,0)" font-style="italic"
font-size="12pt" font-family="Arial" y="70.86615" x="141.7323">a</text>
                  <text dominant-baseline="mathematical"
text-anchor="middle" stroke="rgb(0,0,255)" font-style="italic"
font-size="12pt" font-family="Arial" y="70.86615" x="141.7323">a test

According to the Batik website at apache, both attributes are
implemented, so am I missing something? or does the property work with
only a particular text content element and not all text content elements?
thanks for help,
Matthew L. Avizinis

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message