Agreed. Adjusting letter-space automatically depending on the available space is not always seen as typographically "nice" which is why FOP doesn't do it by default. By playing with letter-spacing.minimum/.optimum/.maximum you can get you a certain flexibility. But that has only limited effect when text is left-aligned. It works best on justified text where our layout algorithm makes full use of letter space shrinking/expanding.
On 14.09.2009 18:58:16 Jonathan Levinson wrote: > 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:[email protected]] > Sent: Monday, September 14, 2009 11:40 AM > To: [email protected] > 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: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
