Openpdf-html: Improve HTML5 and modern CSS support
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Start in the openpdf-html module linked in the issue and read its existing HTML and CSS support. Choose one of the listed improvements, then trace the relevant parser and rendering entry points; the issue does not identify specific files or tests. Done means implementing a selected improvement and verifying its PDF output, but the issue does not define acceptance criteria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
https://github.com/LibrePDF/OpenPDF/tree/master/openpdf-html
💡 Ideas to Improve openpdf-html
-
Improve HTML5 and CSS support!
-
Consider using Jsoup for HTML parsing. https://jsoup.org/
-
Improve @media query handling
- ✅ Partial support exists — expand support for more media types (e.g.,
screen,all,min-width,max-width) - 📈 Benefit: Enables more responsive PDF rendering based on CSS print rules.
- ✅ Partial support exists — expand support for more media types (e.g.,
-
Add support for
display: flex(basic Flexbox)- ⛔ Currently unsupported
- 📈 Benefit: Allows rendering of modern layouts commonly used in HTML/CSS today.
-
Enhance
<table>rendering- 🛠 Improve support for
thead,tfoot,colspan,rowspan, and automatic header repetition across pages. - 📈 Benefit: Enables more professional and structured reports.
- 🛠 Improve support for
-
Implement
position: fixedfor headers/footers- ⛔ Not currently rendered as fixed
- 📈 Benefit: Allows sticky headers or footers for printed documents, great for page numbers and branding.
-
Improve font fallback and international character support
- 🛠 Improve behavior when specified fonts are missing; better default to system or bundled fonts.
- 📈 Benefit: Better support for multilingual PDFs and consistent rendering.
-
Add support for
<svg>elements- ⛔ Not supported
- 📈 Benefit: Enables vector graphics, icons, and charts to be rendered natively.
-
Improve image rendering (e.g.
<picture>,srcset)- 🛠 Support HTML
<picture>tag andsrcsetattributes to choose optimal image resolution. - 📈 Benefit: Better image quality and optimization in PDF output.
- 🛠 Support HTML
-
Support
@font-facefor embedded custom fonts- ⛔ Not yet supported
- 📈 Benefit: Allows authors to use brand fonts directly from CSS in the final PDF.
-
Render CSS
box-shadowandtext-shadow- ⛔ Shadows are currently ignored
- 📈 Benefit: Improves fidelity of modern UI and design-heavy HTML.
-
Expose a debug/render tree output for PDF generation
- 🧪 Provide a debug mode that outputs the parsed render tree or layout model.
- 📈 Benefit: Makes debugging layout issues much easier for developers.
See: https://github.com/flyingsaucerproject/flyingsaucer/issues
- Lingua principale
- Java
- Stelle
- 4.4k
- Fork
- 714
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LibrePDF/OpenPDF
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
IndexOutOfBoundsException in PdfReaderForse già presa @andreasrosdalw l’ha presa 93 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
`PdfSmartCopy` can take effectively unbounded time on nested shared Form XObjectsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
Tutte le issue di LibrePDF/OpenPDF
Issue simili
-
bug web-server
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jooby-project/jooby#4035 ·
I maintainer di solito rispondono entro 1 giorno
-
L: javascript
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dependabot/dependabot-core#16744 ·
I maintainer di solito rispondono entro 1 giorno
-
intake mcp-intake needs-human-review priority:high type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Ikalus1988/MisakaNet#3987 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
quarkiverse/quarkus-google-cloud-services#1187 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
locationtech/jts#1250 ·