Skip to content

Potential issue with landscape feature and AHFormatter #565

@frankarensmeier

Description

@frankarensmeier

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions