Luca,

Running our embedded.fo example in both FOP 0.20.5 and FOP 1.0 is showing a centering problem for the "Embedding SVG" title located at the top of the document (this text is located in the fo:block at line 31 of the .fo document.)

The title centers correctly in 0.20.5, but is left-justified in 1.0. The problem may be with the new Knuth code in LineLayoutManager.java (lines 283-304). This code, as well as the Knuth classes in layout, are not commented so it is somewhat more difficult to understand where the problem may be.

Luca, are you looking at this issue of text alignment in general? Also, any chance we can get the Knuth classes commented so we have a better idea what KnuthBox, KnuthPenalty, KnuthGlue, etc. are for?

Thanks,
Glen

Reply via email to