Anyone have any suggestions on how to get this rotated text displaying
properly with FOP automatically determining the size?

So far I have worked around this problem by creating an inline SVG with
the rotated text.

On Sat, 2020-05-09 at 19:28 -0500, Jon Schewe wrote:
> I am using Apache FOP to render the attached document. The text "M01"
> and "M02" are to be rotated and centered across the rows that they
> refer to. I have put a red border around the block-container that the
> text is inside to try and debug the issue. It appears that I need to
> specify a size for the elements. Is it possible to have the height
> (width before rotation) automatically determined by the other cells
> in
> the table? Ideally I would like to have the rotated cell height be
> the
> minimum of the height needed for the rotated text and the height of
> the
> rows that it is spanning.
> 
> In the end this is an embedded application using the FOP library. I
> am
> testing using FOP version 2.4 on Linux with Java 1.8.
> 
> 
> ./fop-2.4/fop/fop -version
> FOP Version 2.4
> 
> 
> java -version
> openjdk version "1.8.0_252"
> OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)
> OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
> 
> 
> Thank you,
> Jon
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: 
> fop-users-h...@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to