On Jul 17, 2007, at 22:13, Brad Smith wrote:

A simple way to get this would be a fo:inline with a
keep-together="always" on it, if FOP implemented this.

Should I take this to mean that FOP does not implement this, so I
shouldn't bother?

Indeed, see: http://xmlgraphics.apache.org/fop/compliance.html#fo- property-keep-together

The property is supported only on block-level FOs. You can currently only prohibit page- or column-breaks, not line-breaks.

FWIW, I've been looking into implementing this on inline-level as well. AFAICT, it shouldn't be too difficult, but I cannot make estimations yet as to when I will get around to it.
Interested parties are welcome to move this to [EMAIL PROTECTED]


A more convoluted work around involves building your own font,
which uses "/" and "-" as glyphs for some letter characters.

Eww.. that sounds like a hideous hack (not that you were implying
otherwise). I think it would be a better solution to tweak the file
that defines what chars are valid breakpoints and recompile. Then it'd
at least work with any font.

/A/ better solution maybe, but not really /the/ better solution, since this would influence the behavior even where one would not expect this to be the case... /The/ best solution would be to dive into the code, and implement keep-together.within-line.


Cheers

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to