Earlier in October this year, the "landscape" feature was added to DocbookNG, which is highly appreciated. However, I’ve observed that it has the side effect of making rendering smaller documents take considerably longer with AHFormatter. For example, I have a simple test case where the resulting PDF document has 3 pages. Using docbook-paged.css from the 2.2.1 release, the document is generated in under 0.2 seconds, whereas the current release takes over 1 minute.
I realise that vendor-ahf-landscape.scss and vendor-ahf-portrait.scss add almost 1MB to the resulting CSS file. I’m curious to understand more about the background of this change. Perhaps there’s a way to simplify the CSS for AHF or explore other optimisations?
Earlier in October this year, the "landscape" feature was added to DocbookNG, which is highly appreciated. However, I’ve observed that it has the side effect of making rendering smaller documents take considerably longer with AHFormatter. For example, I have a simple test case where the resulting PDF document has 3 pages. Using
docbook-paged.cssfrom the 2.2.1 release, the document is generated in under 0.2 seconds, whereas the current release takes over 1 minute.I realise that
vendor-ahf-landscape.scssandvendor-ahf-portrait.scssadd almost 1MB to the resulting CSS file. I’m curious to understand more about the background of this change. Perhaps there’s a way to simplify the CSS for AHF or explore other optimisations?