DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41299>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41299

           Summary: How to write text vertically with svg
           Product: Fop
           Version: 0.92
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P4
         Component: svg
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Hello all,
 
First I would like to wish you a happy new year!
 
It's the first time I'm using this mailing list so I may not have sent my
question correctly i.e: if you need more information or if I should post my
question somewhere else, please ask/tell me.
 
I'm using FOP 0.20.5 for a project, but I would like to upgrade to FOP 0.92   
beta.
Everything works fine apart form these two points:
The heap size growing dramatically, but I know the reason of this problem, I
only use one page-sequence, and I don't think there's a suitable solution for
it, but that's not the point. 
I need to write some texts vertically and I was creating SVG images in the XSL
sheet to do this, but it doesn't work any more :-(.
The code is the following and works fine in FOP 0.20.5, I also tested the SVG
part separately in an SVG file with and SVG viewer:

<fo:table-cell border-width="0.5px" border-style="solid" padding-left="3px"
padding-before="2.5px" padding-after="0.5px">>
 <fo:block font-size="10pt" font-weight="bold">
  <xsl:choose>
   <xsl:when test="@name = 'ID'">
    <fo:instream-foreign-object>

     <svg width="10" height="100" xmlns="http://www.w3.org/2000/svg";>
      <g transform="translate(7,96)">
       <g transform="rotate(-90)" font-family="SansSerif">
        <text x="0" y="0">Test Vertical</text>
       </g>
      </g>
     </svg>

    </fo:instream-foreign-object>
   </xsl:when>
   <xsl:otherwise>
    <xsl:value-of select="@value"/>
   </xsl:otherwise>
  </xsl:choose>
 </fo:block>
</fo:table-cell>

My configuration:
Windows XP, Java 5.0, Eclipse 3.2.1, using FOP like a library in a java code.
 
So my question is:
Am I making something wrong, is it a bug, or this feature doesn't have been
implemented for now and I'll have to wait until then?
 
Thank you for your answer.
 
Kind regards,
 
Miroslav Gregan

PS I tried to send this mail to fop-dev-faq, fop-users-faq, fop-users-info
@xmlgraphics.apache.org
but I always recived the following answer in return:

Hi! This is the ezmlm program. I'm managing the fop-dev@xmlgraphics.apache.org
mailing list.

FAQ - Frequently asked questions of the fop-dev@xmlgraphics.apache.org list.

None available yet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to