Subject: XSL:FO dynamic font size based on width
From: "Wasiq Shaikh" <wasiq911@xxxxxxxxxxx>
Date: Thu, 26 Jun 2008 08:37:31 -0400
|
Hello everyone!
Quick question ...
I have a title of a book (fo:block) that needs to be one line on an 8.5in x
11in page. If the title is too long for the page (overflow), is there a way
to dynamically decrease the font-size so that the entire title is shown on
one line?
Basically, I'm looking for the exact behaviour of PowerPoint's "AutoFit Text
to Placeholder" feature.
I'm using XSLT-1.0/XPath-1.0/FOP-0.94
Thank you!
W.S
|