Ok, well I think you’re fine to rely on FontBox being 95% stable now. Obviously for your optional plugin you’ll have to depend on more of PDFBox’s core API, which is less stable, it’s hard to offer guarantees as we still have some big issues to fix which might require changes in numerous places.
The API will certainly change before 2.0 is released, but you’re not going to see the sort of huge changes which we had with fonts and rendering. As long as you make sure to use the non-sequential parser, then for your speicfic embedding use-case, you’ll probably not be looking at many API changes between now and the release of 2.0. Compare this with something like embedding Unicode text and TTFs, which is part of 2.0 but we have no idea what the API will look like yet, or signing which is currently in flux. Thanks -- John > On 13 Nov 2014, at 11:49, Simon Steiner <[email protected]> wrote: > > Hi, > > We have an optional plugin that allows a user to embed a pdf in a document. > > Thanks > > -----Original Message----- > From: John Hewson [mailto:[email protected]] > Sent: 13 November 2014 19:02 > To: [email protected] > Subject: Re: pdfbox 2 > > So you have dependencies on other PDFBox APIs? Those might not be as stable, > but I’ll need some details in order to offer any advice. I know that FOP has > some of its own PDF handling code, so what does FOP use PDFBox for? > > -- John > >> On 13 Nov 2014, at 10:33, Simon Steiner <[email protected]> wrote: >> >> Hi, >> >> I would also need snapshot of pdfbox jar. >> >> Thanks >> >> -----Original Message----- >> From: John Hewson [mailto:[email protected]] >> Sent: 13 November 2014 18:13 >> To: [email protected] >> Subject: Re: pdfbox 2 >> >> Hi Simon >> >> I presume you mean the FontBox snapshot jar, rather than the whole of >> PDFBox? >> >> FontBox is now mostly stable, there are some new APIs which I'm >> planning on cleaning up a little before the final release, but only very >> minor changes. >> There are no outstanding regressions or open showstoppers for FontBox, >> so using a snapshot release should be fine. Just make sure to note >> which revision of the trunk you use, for filing bug reports later. >> >> If you need any help porting code over to 2.0, feel free to ask on the >> mailing list, especially if the source is already public. >> >> Thanks >> >> -- John >> >>> On 13 Nov 2014, at 03:22, Simon Steiner <[email protected]> >> wrote: >>> >>> Hi, >>> >>> >>> >>> Apache Fop project needs to make a release in next few weeks. >>> >>> We currently include pdfbox 2 snapshot jars since we can't rely on >>> awt parsing fonts in 1.8 as this doesn't work under Java 7, pdfbox 2 >>> fixed this by writing its own font parsers. >>> >>> Also we make use of font parsers added in 2.0 and many other bugs fixed. >>> >>> >>> >>> Can Fop project make a release including PDFBox 2.0 snapshot jars in >>> our release? >>> >>> >>> >>> Thanks >>> >> >> > >
