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

Inline elements with letter-spacing and custom font aren't correctly sized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • layout/unqualified
    • None

    Description

      If letter-spacing is applied to an inline element, that uses one of the base-14 fonts, the width of the inline element is automatically expanded with the letter-spacing.
      However if a custom font is used (e.g. Arial) the inline width isn't expanded anymore, which prevents from using background-color or borders for the inline element.
      See attached PDF which illustrates the problem.

      Attachments

        1. inline-letter-spacing.xml
          0.7 kB
          Matthias Reischenbacher
        2. inline-letter-spacing.pdf
          15 kB
          Matthias Reischenbacher
        3. FOP-2349.fo
          0.8 kB
          Andreas L. Delmelle

        Activity

          People

            Unassigned Unassigned
            matthias8283 Matthias Reischenbacher
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: