xsl-list
[Top] [All Lists]

[xsl] XSL:FO dynamic font size based on width

2008-06-26 05:38:03
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--