Openpdf-html: Improve HTML5 and modern CSS support
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 4.4k
- Forks
- 714
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LibrePDF/OpenPDF
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
IndexOutOfBoundsException in PdfReaderPosiblemente ocupada @andreasrosdalw la tomó hace 94 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
`PdfSmartCopy` can take effectively unbounded time on nested shared Form XObjectsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
Todos los issues de LibrePDF/OpenPDF
Issues similares
-
area:core bug priority:p2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
aomarai/minecraft-mcp#247 ·
Los mantenedores suelen responder en 1 día
-
help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
antonyrag/ragleap-core#1062 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Vakore/ZappierGames#232 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
constellation-app/constellation#2588 ·