You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/05/16 15:53:58 UTC

[Bug 53242] New: [PATCH] AFP line width changes with renderer resolution

https://issues.apache.org/bugzilla/show_bug.cgi?id=53242

          Priority: P2
            Bug ID: 53242
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: [PATCH] AFP line width changes with renderer
                    resolution
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: lmpmbernardo@gmail.com
          Hardware: All
            Status: NEW
           Version: all
         Component: general
           Product: Fop

Created attachment 28789
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28789&action=edit
patch to address issue described

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53242] [PATCH] AFP line width changes with renderer resolution

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53242

--- Comment #1 from Luis Bernardo <lm...@gmail.com> ---
Created attachment 28790
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28790&action=edit
supporting material

The attached files include an example, and two AFP output files (at 300dpi and
2880 dpi) before and after the patch is applied. Note: the dpi is set in the
<renderer-resolution> element under the afp renderer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53242] [PATCH] AFP line width changes with renderer resolution

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53242

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Glenn Adams <ga...@apache.org> ---
applied at http://svn.apache.org/viewvc?rev=1339442&view=rev

thanks luis! please close when verified

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 53242] [PATCH] AFP line width changes with renderer resolution

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53242

Luis Bernardo <lm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are the assignee for the bug.