Re: Fop multiple thread generate performance

2024-07-18 Thread David Law
Hi, apart from the FopFactory which Simon mentioned, I believe you can also do the same for TransformerFactory. Also, you could consider caching the Stylesheet Templates. They are Threadsafe & can be used by multiple Threads concurrently. I'm a bit rusty, but below is some pseudo-code to illust

Re: No FOP source or javadoc files in Maven repo since 2.4

2022-09-20 Thread David Law
Hi, looking @ which packages are included, there is one difference: org.apache.fop.events.model is missing from the fop-core distro. Rgds, DaveLaw On 29/04/2022 07:48, Simon Steiner wrote: Hi, Can you use: https://repo1.maven.org/maven2/org/apache/xmlgraphics/fop-core/2.7/ Thanks *From:*M

Re: Code block syntax highlighting

2022-09-20 Thread David Law
Would ANTLR & their Grammars for Java, SQL, etc. make sense for this? https://www.antlr.org/ https://github.com/antlr/grammars-v4 All the best, DaveLaw On 19/09/2022 10:07, Andreas Reichel wrote: Klaus and Team, thank you for your feedback. I have actually figured out something working nicely:

Re: PDF-Images - When scaling embedded PDFs with links, the link position is not moved/scaled in relation to image scaling.

2022-09-16 Thread David Law
Mark, it certainly looks very suspicious. Could it be that some Margins, Borders or Padding are muddying the waters? Maybe its worth trying...     ...and...     ...to see how large the areas are? All the best, DaveLaw On 17/08/2022 00:31, Mark Gibson wrote: Hi When using PDF-Images

Re: No FOP source or javadoc files in Maven repo since 2.4

2022-04-29 Thread David Law
It would be nice if someone would respond to this. I posted the same question on 23rd & again on 29th January. Dave On 28/04/2022 23:55, Mark Gibson wrote: Hi FOP 2.3 was published to the public Maven repo with sources and javadocs.  But from 2.4 onwards, only the jar is published.  Is there