DO NOT REPLY [Bug 47157] ImageIO-based images are blurry when rendering a PDF

2009-05-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47157





--- Comment #3 from David Green   2009-05-12 11:36:47 PST 
---
There was only one fo file.  The attached screenshot shows the original image
as it is displayed in an image viewing program (not related to FO or FOP), and
the image as it appears when viewing it via a PDF viewer after rendering with
FOP.  So there was only one fo file, and one rendering process.

I built FOP from source.  SVN info gives the following:

bc. 
URL: http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 771415
Node Kind: directory
Schedule: normal
Last Changed Author: vhennebert
Last Changed Rev: 770635
Last Changed Date: 2009-05-01 04:19:36 -0700 (Fri, 01 May 2009)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


Re: svn commit: r772672 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/apps/FOURIResolver.java

2009-05-12 Thread Max Berger
Hi *,

Andreas Delmelle schrieb:
>>> 
>>> Whilst you are both technically correct, I made the change because
>>> backslashes in file URLs used to work until revision 752153 when
>>> Jeremias inadvertantly removed support for this. Whilst this may be
>>> against the URL spec this is a feature that improves usability of the
>>> product. A lot of users out there aren't aware of the details of RFC
>>> 2396 and are used to being able to use backslashes in file URLs
>>> (especially on Windows systems). So if we remove support for this we may
>>> get a few more questions on fop-user.

For a windows user \ is a valid path separator, and should be kept
working as path separator.

If this function is the right place may be debatable.

> Performing the substitution as part of basic URI resolution, for any
> protocol or on another platform introduces a genuine bug, while not
> resolving paths as URIs on one platform seems just an inconvenience.

Here is another idea: Just substitute File.separator with /

Pro: Would satisfy windows users
Pro: The "misbehavior" only exists on windows.
Con: URI Resolver would work differently on different plattforms.

> Cheers
> Andreas

Max

-- 
http://max.berger.name/
OpenPGP ID: C93C5700 Fpr: AB6638CE472A499B3959 ADA2F989A2E5C93C5700



signature.asc
Description: OpenPGP digital signature