Again many thanks for the practical advice. I'll act on your suggestions. -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 18:47 To: [EMAIL PROTECTED] Subject: Re: Line-wrap in fo:leader
Rob Staveley (Tom) wrote: > To set up something robust, I need to be able to calculate the lengths > of the strings, using the text metrics of the font, I don't think you need that much accuracy, a crude measure should suffice to decide whether you need one or two lines. Font-size times string-length should be ok for most western fonts. > Your philosophical note is very interesting. Shouldn't > over-constraining be forbidden? This would run counter to quite a few real world use cases... > It sound like the FO specification leaves a lot of room for > interpretation. Indeed. Try to find some hints how to handle the following <fo:block text-align-last="justify">A<fo:leader/>B<fo:leader/>C</fo:block> J.Pietschmann --------------------------------------------------------------------- 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]
