You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/01/05 12:52:54 UTC
DO NOT REPLY [Bug 41299] New: - How to write text vertically with svg
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: miroslav.gregan@siemens.com
CC: miroslav.gregan@siemens.com
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.
DO NOT REPLY [Bug 41299] - How to write text vertically with svg
Posted by bu...@apache.org.
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
bowditch_chris@hotmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From bowditch_chris@hotmail.com 2007-01-05 06:14 -------
I've tested your SVG snippet with Trunk inside a table cell and it works fine.
Please don't create bugs to ask questions. Instead subscribe to fop-user and
post your question there. Thanks!
--
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.