FOP: upgrade from 0.20.5 to 0.95 - all texts moved upwards

Discussion in 'XML' started by dentaku, Oct 2, 2008.

  1. dentaku

    dentaku Guest

    After I upgraded from FOP 0.20.5 to FOP 0.95, suddenly all texts in
    the tables moved towards the top. With FOP 0.20.5, the text was
    centered in a table cell that the CAPITAL letters were vertically
    centered. With FOP 0.95 the text is centered in a table cell that the
    LOWER CASE letters are vertically centered, i.e. the whole text moved
    towards the top of the cell. I found a workaround by enclosing the
    text in <fo:inline alignment-adjust="central"> :

    <fo:inline alignment-adjust="central">
    <xsl:value-of select="."/>
    </fo:inline>

    but this seems to be an ugly workaround and probabyl a bad idea to
    enclose EACH TEXT in such an fo:inline container ... is there some
    general setting where I can revert FOP 0.95 back to the FOP 0.20.5
    behaviour when displaying text in tables?
     
    dentaku, Oct 2, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Noozer
    Replies:
    3
    Views:
    554
    Noozer
    Apr 23, 2004
  2. Simon Elliott
    Replies:
    10
    Views:
    663
    David Rubin
    Sep 26, 2003
  3. Leon Mergen

    Upwards-casting question

    Leon Mergen, Sep 7, 2005, in forum: C++
    Replies:
    2
    Views:
    414
    Leon Mergen
    Sep 7, 2005
  4. Pablo
    Replies:
    0
    Views:
    973
    Pablo
    Mar 28, 2007
  5. BootNic
    Replies:
    1
    Views:
    397
    BootNic
    Dec 4, 2010
Loading...

Share This Page