Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1982

Superscripts are placed incorrectly when fo:block font-size differs from fo:inline font-size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Incomplete
    • 1.0
    • None
    • font/unqualified
    • None
    • Operating System: All
      Platform: All
    • 52047

    Description

      Hi All,

      We faced the issue with superscripts. It seems that when calculating superscript baseline position the fo:blocks font-size is taken into account. As a result a cannot use different font-sizes in one paragraph when working with superscripts.
      Subscripts are calculated correctly - based on fo:inline font-size.

      Can anyone comment if this behavior is by design or is it a bug?

      Sample is attached.

      Kind Regards,
      Alexander

      Attachments

        1. test.pdf
          6 kB
          Glenn Adams
        2. test.fo.xml
          2 kB
          Glenn Adams
        3. superscripts.zip
          5 kB
          Alexander Chingarev

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            alexander.chingarev@duallab.com Alexander Chingarev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: