danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.92k stars 357 forks source link

How to adjust the reading ordering #623

Open mofeiwang opened 3 years ago

mofeiwang commented 3 years ago

Use example pdf all-in-one, the PDF reading order is not something makes sense (top to bottom, left to right) with adobe acrobat reading ordering check. Shown as below Is there any way to adjust this reading order so as it will be logic ordering, start from 1 to 11(top to bottom)? Thank in advance.

Screen Shot 2020-12-18 at 16 41 41
danfickle commented 3 years ago

Am I correct in saying the only problems are the list item numbers and bullets? I'll try to take a closer look tomorrow.

mofeiwang commented 3 years ago

Yup, thanks for your kindly help

duklin commented 3 years ago

Can you please give an update on this issue?

duklin commented 3 years ago

The problem are the bullets on the unordered list, adding list-style-type: none in CSS for the list element will fix the reading order