Hello, After way more time than I hoped for, I have a couple of very important updates:
1) I finally reviewed shading/tiling pattern creation[1]. Unfortunately it has been a long and unpleasant work since the existing code was quite high level and suited to process some specific input to produce a limited set of patterns (often with hardcoded coefficients) and not really a generic interface to match the whole extent of PDF capabilities. I believe the scope of a type format library is not necessarily to close the circle so users can immediately feed it with the exact input they have to produce content, so for now the old interface is dropped and replaced by a new generic interface written from scratch which in most (?) cases will require some crunching of the input and understanding of the PDF specification to be useful, even though it now matches 100% of PDF native capabilities. All of the previous functionalities can be reimplemented on top of this interface as external helpers (I'm not interested in working on these helpers, but the old code is obviously preserved in legacy branches). The new interface is partially tested and may be useful also if PoDoFo will ever implement rendering, as all parameters/coefficients of the patterns are stored in immutable structures that can be sent to threads that are different from the structure creation one (eg. a separate rendering thread). Class diagram of the new API is attached (PdfFunction hierarchy is not included, but conceptually is not different than it was before); 2) Parts of the Adobe baked afdko[2] project have been integrated into PoDoFo to improve font import/subsetting support. This basically adds full Type1, CFF, OpenType subsetting support to PoDoFo, which is amazing. The legacy PoDoFo TrueType subsetting code is preserved as afdko subsetting features are orthogonal with respect to legacy TT. With (1) and (2) done all major features are in for 1.0. Also all pending API reviews for major components of PoDoFo have been done, and what is left to do are just minor cleanings. I can't promise any date for 1.0 but it should be now a matter of weeks, not months. Stay tuned. Cheers, Francesco On Tue, 8 Oct 2024 at 10:18, Francesco Pretto <cez...@gmail.com> wrote: > > Work to be done in the next weeks: > - Try to restore PdfShadingPattern, PdfTilingPattern; > ... [1] https://github.com/podofo/podofo/commit/027a5b14509b6dd51dfebf58b49e378e41b83797 [2] https://github.com/adobe-type-tools/afdko
_______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users