Re: Problems sizing text in a rotated block

Jon Schewe <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
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: [email protected]
> For additional commands, e-mail: 
> [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.