[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

--- Comment #9 from Divakar P divaka...@thomsonreuters.com ---
Created attachment 28788
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28788action=edit
minimal FO and respective PCl and PDF documents

Please find the attached minimal FO and corresponding PCL and PDF documents.

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


[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

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


[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 CC||divaka...@thomsonreuters.co
   ||m

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


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

2012-05-16 Thread bugzilla
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: lmpmberna...@gmail.com
  Hardware: All
Status: NEW
   Version: all
 Component: general
   Product: Fop

Created attachment 28789
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28789action=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

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53242

--- Comment #1 from Luis Bernardo lmpmberna...@gmail.com ---
Created attachment 28790
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28790action=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 50098] AFP Renderer: Minor border Painting Inconsistencies

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50098

--- Comment #7 from Luis Bernardo lmpmberna...@gmail.com ---
Created attachment 28791
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28791action=edit
test *.fo file

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


[Bug 50098] AFP Renderer: Minor border Painting Inconsistencies

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50098

--- Comment #8 from Luis Bernardo lmpmberna...@gmail.com ---
Created attachment 28792
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28792action=edit
test *.afp output

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


[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

--- Comment #10 from Glenn Adams gad...@apache.org ---
(In reply to comment #9)
 Created attachment 28788 [details]
 minimal FO and respective PCl and PDF documents
 
 Please find the attached minimal FO and corresponding PCL and PDF documents.

please attach the fop.xconf file you are using

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


[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

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


[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

--- Comment #11 from Glenn Adams gad...@apache.org ---
Created attachment 28794
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28794action=edit
maximally minimal test FO and output files

this attachment contains a maximally minimal test input file and resulting
output PDF and PCL files (using current dev trunk build); it is clear from this
test that the problem pertains to the handling ipd of a generated inline area,
irrespective of the additional styling applied to that inline

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


[Bug 51076] Underline and Highlight do not have the correct spacing when PCL is generated for non monospaced fonts

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #12 from Glenn Adams gad...@apache.org ---
initial investigation indicates that the problem is related to differences
between font metrics used for the 14 base PDF fonts and use of built-in
(native) PCL fonts;

if the fop.xconf is configured as follows:

renderer mime=application/x-pcl
  ...
  text-renderingbitmap/text-rendering
  ...
/renderer

then no extra space appears

n.b. that the current FOP documentation at [1] incorrectly says to use MIME
type

application/vnd.hp-PCL

however, this doesn't work; instead, you must use

application/x-pcl

[1] http://xmlgraphics.apache.org/fop/trunk/output.html#pcl

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


[Bug 51076] use of base 14 fonts with text-rendering 'auto' (use native pcl fonts) produces ipd misalignment due to metrics mismatch

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

Summary|Underline and Highlight do  |use of base 14 fonts with
   |not have the correct|text-rendering 'auto' (use
   |spacing when PCL is |native pcl fonts) produces
   |generated for non   |ipd misalignment due to
   |monospaced fonts|metrics mismatch

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


[Bug 51076] use of base 14 fonts with text-rendering 'auto' (use native pcl fonts) produces ipd misalignment due to metrics mismatch

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51076

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

   Hardware|Other   |All
 OS|Linux   |All

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


[Bug 53247] New: incorrect documentation for pcl mime type

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53247

  Priority: P2
Bug ID: 53247
  Assignee: fop-dev@xmlgraphics.apache.org
   Summary: incorrect documentation for pcl mime type
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: gad...@apache.org
  Hardware: All
Status: NEW
   Version: 1.1dev
 Component: pcl
   Product: Fop

the mime type documented for use with PCL output, namely,
application/vnd.hp-PCL, is not recognized for FOP configuration files; rather,
only mime type application/x-pcl is recognized;

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


[Bug 53247] incorrect documentation for pcl mime type

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53247

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Glenn Adams gad...@apache.org ---
http://svn.apache.org/viewvc?rev=1339388view=rev

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


[Bug 53247] incorrect documentation for pcl mime type

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53247

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

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


[Bug 53248] New: [PATCH] fop test.fo -print throws exception

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53248

  Priority: P2
Bug ID: 53248
  Assignee: fop-dev@xmlgraphics.apache.org
   Summary: [PATCH] fop test.fo -print throws exception
  Severity: minor
Classification: Unclassified
OS: All
  Reporter: lmpmberna...@gmail.com
  Hardware: All
Status: NEW
   Version: 1.1dev
 Component: general
   Product: Fop

Created attachment 28795
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28795action=edit
patch file

The command fop xslfo.fo -print throws the exception:

C:\fop xslfo.fo -print
May 16, 2012 10:32:37 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.ArrayIndexOutOfBoundsException: 2
at
org.apache.fop.cli.CommandLineOptions.parsePrintOutputOption(CommandL
ineOptions.java:559)
at
org.apache.fop.cli.CommandLineOptions.parseOptions(CommandLineOptions
.java:325)
at
org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:1
62)
at org.apache.fop.cli.Main.startFOP(Main.java:158)
at org.apache.fop.cli.Main.main(Main.java:205)

Note that the command is valid according to fop -print help.

This minor patch fixes the issue and includes a simple unit test.

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


[Bug 53249] New: fop sample.fo -print does not work on Mac OS X

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53249

  Priority: P2
Bug ID: 53249
  Assignee: fop-dev@xmlgraphics.apache.org
   Summary: fop sample.fo -print does not work on Mac OS X
  Severity: normal
Classification: Unclassified
  Reporter: lmpmberna...@gmail.com
  Hardware: Macintosh
Status: NEW
   Version: 1.1dev
 Component: general
   Product: Fop

Created attachment 28796
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28796action=edit
test FO file for the sake of completeness...

The command fop sample.fo -print when run on a Mac OS X sends the document to
the printer but the page comes blank.

However, fop sample.fo sample.pdf followed by lpr sample.pdf works, so the
issue is not the printer.

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


[Bug 53248] [PATCH] fop test.fo -print throws exception

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53248

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Glenn Adams gad...@apache.org ---
applied at http://svn.apache.org/viewvc?rev=1339441view=rev

thanks luis! please close after verification

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


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

2012-05-16 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53242

Glenn Adams gad...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

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

thanks luis! please close when verified

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


Moving XMLGraphics Products from Bugzilla to JIRA

2012-05-16 Thread Glenn Adams
In accordance with a positive vote [1] to transition the XMLGraphics
products from Bugzilla to JIRA, I have filed an infrastructure task
requesting this transition at [2]. If I can help accomplish this task in
any way, please let me know.

Regards,
Glenn Adams (gadams at apache dot org)

[1]
http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/201204.mbox/%3cblu0-smtp3399c950fec66db9e13e8afb...@phx.gbl%3e
[2] https://issues.apache.org/jira/browse/INFRA-4800