xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Levinson <Jonathan.Levin...@intersystems.com>
Subject RE: inline-progression-dimension / block-progression-dimension maybe doesn't work
Date Mon, 14 Sep 2009 16:58:16 GMT
inline-progression-dimension specifies the inline-progression-dimension
of the content-rectangle.

The XSL-FO standard does not say a conforming implementation will
squeeze characters to fit.  In the example you gave, it looks like the
formatter was adjusting the letter-spacing negatively.

http://www.w3schools.com/xslfo/prop_letter-spacing.asp

You might be able to emulate this formatting behavior (which does not
seem to be mandated by the standard) by filtering your input string
using XSLT, multiplying the point-size of the font by the length of the
string.  If this exceeds the inline-progression-dimension, you would
reduce the letter-spacing appropriately.  I haven't tried this myself;
it is just an idea.

Best Regards,
Jonathan S. Levinson


-----Original Message-----
From: samea [mailto:info@samea.de] 
Sent: Monday, September 14, 2009 11:40 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: inline-progression-dimension / block-progression-dimension
maybe doesn't work


Hi,

thnaks for your quick answer, but in my case I have to reduce the space
between the chars. There is only one line to draw, so wrapping or
hyphenation is not possible. It's a app for businesscards.

Thanks

Markus


-- 
View this message in context:
http://www.nabble.com/inline-progression-dimension---block-progression-d
imension-maybe-doesn%27t-work-tp25437260p25438168.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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


Mime
View raw message