Fop
  1. Fop
  2. FOP-2063

[PATCH] AFP line width changes with renderer resolution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: general
    • 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).

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

        Activity

          People

          • Assignee:
            fop-dev
            Reporter:
            Luis Bernardo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development