Re: TrueType Font Embedding

2010-11-19 Thread Jeremias Maerki
On 18.11.2010 16:05:25 mehdi houshmand wrote: All that being said, I could implement my initial proposal, obviously it would have to be user friendly and not conflict with the settings already available, so maybe a parameter called embedding with two possible values, full and subset (since the

buildbot success in ASF Buildbot on fop-trunk

2010-11-19 Thread buildbot
The Buildbot has detected a restored build of fop-trunk on ASF Buildbot. Full details are available at: http://ci.apache.org/builders/fop-trunk/builds/69 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: ceres_ubuntu Build Reason: The Nightly scheduler named 'fopNightly' triggered

Re: wrong glyph shown for box (was: TrueType Font Embedding)

2010-11-19 Thread Jeremias Maerki
Hi Eric Sorry for the delay. I've looked at your example you've sent me off-list. On 12.11.2010 09:32:13 Jeremias Maerki wrote: snip/ The problem I'm currently having with output is rendering special unicode glyphs. I sent one unicode as a 25AB with the font file LTYPE.TTF which came

Re: What is Renderable?

2010-11-19 Thread Jeremias Maerki
Answered on fop-users. On 18.11.2010 16:16:41 Eric Douglas wrote: So I sent a message to the fop-users list yesterday because there's something I can't figure out how to do, but it might belong on the dev list if there actually isn't a way to do it? So I'm a little confused... Here's my

Re: svn commit: r1036179 [1/2] - in /xmlgraphics/fop/trunk

2010-11-19 Thread Simon Pepping
I will revert the renaming of public methods. It was not a good idea. Sorry for the noise. Simon On Thu, Nov 18, 2010 at 05:03:34PM +0100, Simon Pepping wrote: It breaks org.krysalis.barcode4j.fop.BarcodeXMLHandler: getNamespace - getNameSpace (from render.xml.XMLXMLHandler.getNamespace -

Re: FOP + JAXB

2010-11-19 Thread Peter Hancock
Hi Jason, I can imagine your motivation for creating a representation of an fo tree in a java application however feeding this into FOP directly would perhaps be a little wastful from FOP's point of view: FOP uses SAX to parse the fo input and then builds an internal representation of the FO

Re: svn commit: r1036179 [1/2] - in /xmlgraphics/fop/trunk

2010-11-19 Thread Jeremias Maerki
Thanks!!! On 19.11.2010 11:33:21 Simon Pepping wrote: I will revert the renaming of public methods. It was not a good idea. Sorry for the noise. Simon On Thu, Nov 18, 2010 at 05:03:34PM +0100, Simon Pepping wrote: It breaks org.krysalis.barcode4j.fop.BarcodeXMLHandler: getNamespace -

Re: FOP + JAXB

2010-11-19 Thread Jeremias Maerki
Hi Jason, yes, generating a SAX stream from JAXB should be easy. But personally, I would never write Java code that produces XSL-FO for real-life documents because it would be too tedious and very hard to maintain. In every single case, I would see to it that I can produce XML data and put that

Re: new findbug errors

2010-11-19 Thread Simon Pepping
I committed an exclusion filter that suppresses all existing findbug warnings (966). I generated it from the findbugs xml report. Then I moved all NM_CONFUSING out of the automatically generated block. When you get a new findbugs warning, you may 1. resolve it; 2. leave it unresolved, and add it

Re: new findbug errors

2010-11-19 Thread Glenn Adams
Thanks! You say: I note that we have not accepted findbugs as a tool of the project. I think that not all developers are a fan of the tool. Is there an alternative, and equally or more effective tool that is acceptable to more developers, e.g., PMD? If there is, then perhaps we should migrate to

Mocking a test

2010-11-19 Thread mehdi houshmand
Hi, I've been working on unit testing some of the classes in FOP and I think FOP could benefit from using a mocking framework. The goal is obviously that every class has a complimentary test class to test behaviour and state and mocking a class is a good way to emulate an object. I shan't make

Re: new findbug errors

2010-11-19 Thread Simon Pepping
Glenn, One note: You introduced findbugs as a tool, and you created the findbugs target in the build file. Simon On Fri, Nov 19, 2010 at 08:28:09AM -0700, Glenn Adams wrote: Thanks! You say: I note that we have not accepted findbugs as a tool of the project. I think that not all developers

Re: new findbug errors

2010-11-19 Thread Glenn Adams
Nope. It was introduced along with PMD target by Max Berger in June, 2008, see http://svn.apache.org/viewvc?view=revisionrevision=666967 I only made some enhancements to it, like adding the exclusion file. G. On Fri, Nov 19, 2010 at 11:55 AM, Simon Pepping spepp...@leverkruid.euwrote: Glenn,

Re: Mocking a test

2010-11-19 Thread Adrian Cumiskey
Hi Medhi, That's a great suggestion. I really like to use the Mockito (http://code.google.com/p/mockito/) framework in my tests, it has a fluent interface that is really easy and comfortable to work with. Adrian. Sent from my iPad On Nov 20, 2010, at 12:08 AM, mehdi houshmand