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

[PATCH] AFP line width changes with renderer resolution

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      53242

      Description

      When generating an AFP file from a source that contains a SVG, the line widths in the SVG are not correctly translated to the AFP output. The current code sets an absolute line width in the AFP output when it should set a relative multiplier of the default line width. The end result is that the line width is different at different renderer resolutions. This patch fixes that and also adds support to fractional line widths. Since the default line width is device dependent this patch also adds a new optional entry to fop.xconf, line-width-correction (under the afp renderer element), so that the line width output can be manually tuned to a particular device (printer, viewer).

        Attachments

        1. afp_svg_line_width.patch
          22 kB
          Luis Bernardo
        2. resources.tar.gz
          2 kB
          Luis Bernardo

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              lmpmbernardo Luis Bernardo
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: