Re: [xep-support] 1. unicode characters (eg arrow up) 2. line-height

From: Paul A. Hoadley (
Date: Tue Jan 21 2003 - 16:33:28 PST

  • Next message: Nikolai Grigoriev: "Re: [xep-support] 1. unicode characters (eg arrow up) 2. line-height"

    On Wed, Jan 22, 2003 at 12:17:54AM +0100, Tobias Reif wrote:

    > When there is superscript stuff, eg for footnotes, I get uneven line
    > heights:
    > Is this an issue of XEP or should it be resolved by changing the FO
    > generation?

    [I assume you're using DocBook here, as in your first question.]
    IMHO, at least part of the problem is that the FO stylesheets don't
    reduce the font-size of the footnote mark by enough (90% relative to
    surrounding text) -- even if the baseline shift you describe didn't
    occur, I think the mark is too large. (I don't know off-hand what
    relative size (La)TeX, for example, uses, but I'm sure it's smaller.)
    I've been experimenting with smaller marks: 60% in Times Roman causes
    no baseline shift (that I can detect), though maybe the mark looks a
    little too small at this size. YMMV with other fonts. Anyway, the
    customisation involves a single template:

      <xsl:template name="format.footnote.mark">
        <xsl:param name="mark" select="'?'"/>
        <fo:inline baseline-shift="super" font-size="60%">
          <xsl:copy-of select="$mark"/>

    See if that helps.

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Tue Jan 21 2003 - 16:28:17 PST