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

[PATCH] SVG Images inherit font configuration from sibling objects.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.9
    • image/svg
    • None
    • Patch

    Description

      Given the sample input.fo (adjust the path to sample.svg), the letter spacing of an inline element in a previous block is being applied also to an external-graphic element on a different block.

      The letter spacing property in the inline element should not affect the external-graphic in a different block.

      Additionally, setting letter-spacing on the external-graphic or it's parent block has no effect and the content still used the letter-spacing of the previous inline text.

       

      The given patch SVG-letter-spacing.patch does fix the issue with letter-spacing, altough it might need a more generic approach.

       

      Attachments

        1. SVG-letter-spacing.patch
          0.8 kB
          Juan
        2. sample.svg
          7 kB
          Juan
        3. p5.patch
          8 kB
          Dave Roxburgh
        4. input.fo
          1.0 kB
          Juan

        Activity

          People

            ssteiner Simon Steiner
            juani15151 Juan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: