Re: PDFName.getName() returns escaped name?!

2012-04-09 Thread Craig Ringer
On 04/04/12 18:02, Vincent Hennebert wrote: Hi Craig, Thanks for your extensive study! On 03/04/12 10:31, Craig Ringer wrote: On 03/04/12 01:16, Vincent Hennebert wrote: From a quick look that sounds about right. Are you developing with a 1.7 JDK? You would have to make your code 1.5

Re: PDFName.getName() returns escaped name?!

2012-04-03 Thread Craig Ringer
and determine what kind of work is involved in doing this. -- Craig Ringer

Re: Assigning unique resource names

2012-04-02 Thread Craig Ringer
days and give it a think, see if there's anything we can do to help. Apologies once again, Mehdi On 28 March 2012 07:39, Craig Ringer ring...@ringerc.id.au wrote: Hi I've nearly finished work on getting fop-pdf-image to overlay PDFs by appending their content streams and merging

Re: PDFName.getName() returns escaped name?!

2012-03-29 Thread Craig Ringer
On 03/30/2012 05:09 AM, J.Pietschmann wrote: Am 29.03.2012 01:24, schrieb Craig Ringer: I'd also like to have getEncodedName() return a byte[] not a String, since an encoded PDF name isn't actually text data. Sounds like a reasonable idea. BTW, is there any reason Fop's PDF library uses

Assigning unique resource names

2012-03-28 Thread Craig Ringer
soon, along with patches for some other changes that enable what I'm doing but may be useful for others. A patch with the fop-pdf-images merge feature support will follow once I've finished it enough that I can do test-runs. -- Craig Ringer

Re: Merging Temp_PDF_ObjectStreams branch to trunk

2012-03-22 Thread Craig Ringer
On 03/22/2012 03:54 PM, Pascal Sancho wrote: Hi, +0 I see no objection if PDF-image plugin is updated in a short delay (I mean: before next release). This might be a good opportunity to merge fop-pdf-image . -- Craig Ringer

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-08 Thread Craig Ringer
) but it might help with the RIP crashes. Here's hoping. See the PDFBox-dev mailing list for the Overlay.java patch. -- Craig Ringer

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread Craig Ringer
information in a WeakHashMapFOUserAgent,... to figure it out, so I should be able to make fop-image-plugin use form XObjects only for pdf images referenced multiple times. -- Craig Ringer

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread Craig Ringer
On 08/03/12 04:12, Vincent Hennebert wrote: Just my 2 cents on a particular detail... On 07/03/12 07:51, Craig Ringer wrote: On 06/03/12 18:49, mehdi houshmand wrote: snip/ So with that in mind, what exactly are you trying to do? Why are you using FOP to merge PDFs? I'm using FOP

Re: Fwd: Google Summer of Code

2012-03-06 Thread Craig Ringer
documents. I'm using small PDFs that are basically images - but represented as a combination of raster, text and bitmap data that should be included in the output document as efficiently as possible and without loss of fidelity. IOW, exactly what fop-pdf-image is for. -- Craig Ringer

Re: Fwd: Google Summer of Code

2012-03-06 Thread Craig Ringer
entirely different considerations because of the possibility of visible changes caused by non-matching metrics etc. -- Craig Ringer

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-06 Thread Craig Ringer
of small irregular shaped pages, as each input PDF is quite small. It'd certainly help confirm whether the issue was XObject form use, or whether it was font duplication. -- Craig Ringer

Re: Google Summer of Code

2012-03-05 Thread Craig Ringer
in the proposed XSL-FO 2.0 feature list (though most of it won't be realistic for GSoC projects); - Merge fop-pdf-image and implement smart merging of font, profile, and image resources. I'm working on this one at the moment, but slowly and only amid other projects. -- Craig Ringer

Re: Google Summer of Code

2012-03-05 Thread Craig Ringer
to note another possible motivation for extracting the font library: to then potentially permit it to be merged with or replaced by pdfbox's fontbox, reducing duplicate work. -- Craig Ringer

Re: Implementing PDF Object Streams

2012-02-27 Thread Craig Ringer
more complex and makes working with fonts a lot harder. I'm sure it's not the only area where a pdfbox-based backend might be good. -- Craig Ringer

Re: Document and page callbacks for image handlers

2011-12-21 Thread Craig Ringer
metrics are encountered they're copied over verbatim exactly as is currently the case. Expanding the key to cover the font bbox, ascent and descent etc will help solve that and won't be hard, I'm just leaving it until I have a proof of concept font re-embed working. -- Craig Ringer

Re: Difference between RenderingContext and RendererContext

2011-12-21 Thread Craig Ringer
, particularly being able to use enums . On Dec 20, 2011 11:34 PM, Vincent Hennebert vhenneb...@gmail.com wrote: Hi Craig, On 16/12/11 13:29, Craig Ringer wrote: Hi all While reading over the pdf-image extension and fop code, I'm having a bit of an interesting time figuring out the difference

Re: Document and page callbacks for image handlers

2011-12-18 Thread Craig Ringer
is that the whole font is embedded rather than a subset. Anyone working on the same thing, please feel free to drop me a note. -- Craig Ringer

Difference between RenderingContext and RendererContext

2011-12-16 Thread Craig Ringer
ImageHandler and takes a RenderingContext. They seem to do much the same thing. Is this a case of old-backwards-compat-code meets new-code? If so, which should I target for future work? *headscratch* -- Craig Ringer

Document and page callbacks for image handlers

2011-12-16 Thread Craig Ringer
some indirect objects I've only written indirect references to so far? Sorry if these are somewhat stupid questions. I'm very new to fop's codebase and I'm still getting my head around it. -- Craig Ringer

Document and page callbacks for image handlers

2011-12-16 Thread Craig Ringer
some indirect objects I've only written indirect references to so far? Sorry if these are somewhat stupid questions. I'm very new to fop's codebase and I'm still getting my head around it. -- Craig Ringer POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN

Difference between RenderingContext and RendererContext

2011-12-16 Thread Craig Ringer
ImageHandler and takes a RenderingContext. They seem to do much the same thing. Is this a case of old-backwards-compat-code meets new-code? If so, which should I target for future work? *headscratch* -- Craig Ringer POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN

Re: OpenType font library [was: Re: How much work is needed for FOP to support OpenType fonts?]

2011-01-19 Thread Craig Ringer
On 19/01/11 16:35, Simon Pepping wrote: I take this discussion to express my worries that FOP needs to create its own support for fonts, among which Open Type Fonts. FOP's core task is the layout and printing of FO files. If FOP could rely on good font libraries, that would make our code base

Re: color issues [was: OpenType font library]

2011-01-19 Thread Craig Ringer
On 19/01/11 19:13, Jeremias Maerki wrote: Craig, you might want to try out the color branches for which I've just started to vote to merge it into trunk. The color branch adds Named Color (separation, spot color) support and CIE Lab support. However, ICC and device CMYK colors should already

Re: offo in maven [was: Re: DO NOT REPLY [Bug 49881] [PATCH] add maven build support]

2010-09-09 Thread Craig Ringer
On 9/09/2010 3:00 PM, Simon Pepping wrote: I found offo in maven central: http://repo1.maven.org/maven2/net/sf/offo/fop-hyph/1.2/. I did not put it there. Hmm. That makes me officially blind. Thanks :-) Ah well, it served as a useful example of the methods. -- Craig Ringer Tech-related

Re: DO NOT REPLY [Bug 49881] New: [PATCH] add maven build support

2010-09-07 Thread Craig Ringer
version control, I still have to obtain it somehow. That said, I do find that the way it doesn't tend to include most of the core plugins in the initial Maven download - and therefore fetches them when you first do a build - to be annoying. -- Craig Ringer Tech-related writing at http

Re: DO NOT REPLY [Bug 49881] New: [PATCH] add maven build support

2010-09-07 Thread Craig Ringer
to spit out a suitable generated pom.xml . No biggie. You can use Maven builds with jars not created or managed with Maven, you can use Ant to produce Maven artifacts, and you can use Ant to consume Maven-produced artifacts. It doesn't really force anything on you at all. -- Craig Ringer

Re: DO NOT REPLY [Bug 49881] New: [PATCH] add maven build support

2010-09-07 Thread Craig Ringer
to spit out Maven artifacts after a build, though, to make it easier to use fop's existing build tools to integrate with maven. -- Craig Ringer Tech-related writing at http://soapyfrogs.blogspot.com/

Re: Font Glyph?

2010-07-26 Thread Craig Ringer
be ideal. The BitStream Vera family might also be useful, though they don't have the same metrics and appearance as common base fonts. -- Craig Ringer

Re: Intermediate Format (IF) with placeholder / marker

2010-07-13 Thread Craig Ringer
a span for the page's content. So... consider using the area tree output instead. It might be a better fit for your needs. -- Craig Ringer

Potential contract project

2010-06-25 Thread Craig Ringer
patch against complex core bits of fop! Anyone interested? -- Craig Ringer System and Network Administrator POST Newspapers