Re: Foray's font subsystem for Fop

2005-06-15 Thread Thomas DeWeese
Hi All, Just to throw in my 2 cents. Batik Handles this through the @font-face CSS property. This allows you to provide a mapping from a CSS font-family (with weight etc) to a font file on disk/network etc: @font-face { font-family: CSS Batik SVGFont; src:

[Fwd: svn commit: r219312 ] Batik transcoders now throw errors for missing images

2005-07-16 Thread Thomas DeWeese
Hi Batik-dev, Fop-dev, I just wanted to give a heads up on a change to the way the transcoders work. As the attached commit note mentions Batik is now forwarding information about 'missing images' to the UserAgent. This is important because the UserAgent is an Interface - so if you don't

Re: Batik images and resolution

2005-08-12 Thread Thomas DeWeese
Jeremias Maerki wrote: Ideally, the *Reader implementations (analyser package) for each format should actually read the extents and the bitmap resolution already. It should not be deferred to the actual codec, if possible. That makes it possible to work with the image (during layout) without

Re: DO NOT REPLY [Bug 36082] - [PATCH] Relative URIs are not correctly resolved

2005-08-16 Thread Thomas DeWeese
Hi all, On Mon, 15 Aug 2005 08:20 pm, Jeremias Maerki wrote: This is actually not about relative paths, but actual URI resolution. If you look at the JUnit test case I committed earlier [1] I use the URIResolver to resolve an URI funky:myimage123 to one of the bgimg bitmaps in our test

Re: TIFF images and color model

2005-08-18 Thread Thomas DeWeese
Manuel Mall wrote: This is probably more a Batik question but as I encountered it in the FOP context and Batik people are on this list here we go: When decoding a TIFF image (black / white fax) using Batik and then looking at the returned color space, e.g.

Re: DO NOT REPLY [Bug 35918] - [PATCH] Shapes are slightly shifted with respect to lines on larger graphics

2005-08-31 Thread Thomas DeWeese
I did a few things on PDFGraphics2D to improve the situation: http://svn.apache.org/viewcvs?rev=240344view=rev BTW Batik saw a significant performance increase when we went to using a DecimalFormat object to write our strings.

Re: DO NOT REPLY [Bug 35918] - [PATCH] Shapes are slightly shifted with respect to lines on larger graphics

2005-08-31 Thread Thomas DeWeese
numbers n+0.05 x n-0.05 to n (where n is an integer)? That seems really hacky ;) Also I can almost assure you that NumberFormat will be _much_ faster than the current code. On 31.08.2005 14:32:01 Thomas DeWeese wrote: I did a few things on PDFGraphics2D to improve the situation: http

ForayFont dependency in graphics commons; was: Logging for FOrayFont

2005-09-06 Thread Thomas DeWeese
Hi all, So this is a tricky one. I really feel like I'm getting in the way of FOP stuff, but on the other hand as far as I can see the ForayFont stuff would have almost zero advantage for Batik's use of the PDF Transcoder. This is because Batik has to do all of it's own text layout and

SVG PDFTranscoder broken...

2005-10-18 Thread thomas . deweese
Hi all, I don't know if you want to deal with this here in FOP land or over in Batik land but since the code in question is currently in FOP I thought I would start here. The PDF transcoder is currently broken. This appears to be due to a recent change to the way clips are done.

Re: SVG PDFTranscoder broken...

2005-10-18 Thread thomas . deweese
Hi Jeremias, Jeremias Maerki [EMAIL PROTECTED] wrote on 10/18/2005 04:51:00 PM: I recently cleaned up the PDF and PS transcoders so they behave much more similarly. I may have broken clipping then, although I have done quite extensive tests. The problem isn't really with clipping, it's

Re: SVG PDFTranscoder broken...

2005-10-20 Thread thomas . deweese
Hi Jeremias, Jeremias Maerki [EMAIL PROTECTED] wrote on 10/19/2005 12:37:56 PM: I see the problem now and I think I found a fix: http://svn.apache.org/viewcvs?rev=326600view=rev The Graphics.create() methods were simply not implemented properly. Right, thanks for fixing it for me. It

Re: Unicode compliant Line Breaking

2005-10-31 Thread thomas . deweese
Hi all, Just an FYI, Batik also currently has an implementation of the Unicode TR14 word breaking alg. (org.apache.batik.gvt.flow.TextLineBreak). As far as performance is concerned it should be fairly fast as it is mostly just table based. The Web Maestro [EMAIL PROTECTED]

Re: Preparing for the first release

2005-11-15 Thread thomas . deweese
Hi Jeremias, Not to rain on your parade, but doesn't there need to be a vote on fop-dev by committers on the release before bringing it to the PMC? Also doesn't a formal vote need to run at least one full week? I understand your desire to get the release out but... Jeremias Maerki

Re: Preparing for the first release

2005-11-15 Thread thomas . deweese
Hi Jeremias, Jeremias Maerki [EMAIL PROTECTED] wrote on 11/15/2005 08:28:11 AM: In terms of the Apache bylaws the PMC is the only body that can do project decisions [1]. It appears that they are the 'binding body' from the ASF point of view, but as a PMC member I would really like to see

Re: [VOTE] Release FOP Trunk as FOP 0.90alpha1

2005-11-18 Thread thomas . deweese
+1 Congratulations! Jeremias Maerki [EMAIL PROTECTED] wrote on 11/15/2005 03:14:12 PM: This is it. Just to make it clear again: This is a a release vote and therefore a PMC vote, but every FOP committer is invited to place his vote or raise any objections. Noone gets ignored. Although

Re: Text handling in svg files, transcoders

2005-11-25 Thread thomas . deweese
Hi Jeremias, Vincent, Jeremias Maerki [EMAIL PROTECTED] wrote on 11/24/2005 03:27:28 PM: On 24.11.2005 21:00:58 Vincent Hennebert wrote: I would need some help to understand how transcoders and text handling within svg should work. o first, when I try to convert some svg that contains

Re: DO NOT REPLY [Bug 37879] - PDF SVG rendering forces stroking text (config setting broken)

2005-12-13 Thread thomas . deweese
Hi Adam, Adam Strzelecki [EMAIL PROTECTED] wrote on 12/13/2005 07:54:13 AM: It should work with the svn versions of /both/ Fop and Batik. You may look at [1] and [2] for details. Alright but I'm using FOP SVN trunk I was trying with both batik-1.6.jar from TRUNK (SVN) and some nigtly of

Re: DO NOT REPLY [Bug 37879] - PDF SVG rendering forces stroking text (config setting broken)

2005-12-13 Thread thomas . deweese
Hi Adam, Adam Strzelecki [EMAIL PROTECTED] wrote on 12/13/2005 08:17:38 AM: None of your content uses 'simple' text. All of your text uses child tspan's with 'x' 'y' attributes. This falls into the case of complex text so we stroke the text. Booo... so we need to stroke tspans ?

Re: Beta release next week?

2005-12-14 Thread thomas . deweese
Hi Jeremias, Jeremias Maerki [EMAIL PROTECTED] wrote on 12/14/2005 08:33:47 AM: Given the number of bugs fixed and the feedback we got, I think it should be safe to do another release tagged beta. If you want to do this, then we should 'fix' the PDFTranscoder for SVG text. It appears

Re: [EMAIL PROTECTED]: Project xml-fop (in module xml-fop) failed

2006-04-02 Thread thomas . deweese
Hi guys, What do you want to do about this? Do we need to move these back for you or what? You might also consider tracking the svg11 branch in gump rather than 'trunk'... This might make more sense in the near term anyway as likely if a release of Batik were to happen in the near

Re: Question about status of Bidi support, and Arabic/Persian shaping!

2006-05-05 Thread thomas . deweese
Hi all, Jeremias Maerki [EMAIL PROTECTED] wrote on 05/05/2006 02:43:26 AM: I think it is preferrable to reuse code from the Java class library if it covers our requirements (among them: maintain JDK 1.3 compatibility). Sadly that means that java.text.Bidi is a little problematic, except if

Re: Images in FOP 0.92beta

2006-07-14 Thread thomas . deweese
Hi all, Just a small comment on HashMaps with weak values: Jeremias Maerki [EMAIL PROTECTED] wrote on 07/13/2006 04:43:07 PM: Ok, so I changed the WeakHashMap to a HashMap and wrapped the values in WeakReferences. Tadaaa! A PDF with 182 JPEG images with a total size of 258 MB is suddenly

Re: Images in FOP 0.92beta

2006-07-15 Thread thomas . deweese
Hi Jeremias, Jeremias Maerki [EMAIL PROTECTED] wrote on 07/14/2006 04:26:57 PM: At first, I'd have preferred to avoid an extra thread if possible so I just added a local ReferenceQueue and used poll() to do house-keeping whenever a user agent signs off. I assume you don't have a

Re: [EMAIL PROTECTED]: Project xml-fop-maintenance (in module xml-fop-maintenance) failed

2006-08-16 Thread thomas . deweese
Hi all, Sam Ruby [EMAIL PROTECTED] wrote on 08/15/2006 08:35:08 AM: Project xml-fop-maintenance has an issue affecting its community integration. This issue affects 1 projects, [javac] /x1/gump/public/workspace/xml-fop- maintenance/build/src/org/apache/fop/svg/PDFTranscoder.java:233:

Re: FOP Memory issues (fwd from fop-users)

2007-01-12 Thread thomas . deweese
Hi all, Andreas L Delmelle [EMAIL PROTECTED] wrote on 01/11/2007 05:24:36 PM: On Jan 11, 2007, at 22:31, J.Pietschmann wrote: Quite some time ago I did some statistics on number of children of FOs, using the FOP examples and FO files from bug reports. The breakdown was roughly the

Re: DO NOT REPLY [Bug 41440] - PDFSVGHandler causes missing resource bundle

2007-01-29 Thread thomas . deweese
Hi All, I think this bug should now be fixed in the SVN version of Batik. Please report back quickly if it isn't. [EMAIL PROTECTED] wrote on 01/26/2007 08:22:59 PM: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT

Re: Dramatic improvement of PDF text painting quality for SVG

2007-11-06 Thread thomas . deweese
Hi Jeremias, Jeremias Maerki [EMAIL PROTECTED] wrote on 11/03/2007 07:22:17 AM: As you may have see, I've reimplemented the PDFTextPainter which is part of the PDFTranscoder. All most all text is now painted using PDF text painting primitives (except for SVG fonts and where filters are used).