Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

letter-spacing not respected by openpdf-html

Aperta
#1,417 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
backend

Direzione di ricerca

Start with the linked Kotlin reproduction, LetterSpacingTest.kt, and compare its openpdf-html output with openhtmltopdf. Trace how openpdf-html handles the HTML letter-spacing style and identify where its spacing differs. Done means the generated PDF respects letter spacing as shown by the comparison.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Describe the bug

The letter-spacing html style is not respected in the PDF output from openpdf-html

To Reproduce

See the minimal test here. It generates output using librepdf as well as openhtmltopdf for comparison. The latter correctly applies spacing in the generated html.

Expected behavior/Screenshots

The actual output is spaced as if the letter-spacing is not present:
Image

The expected output, as generated by openhtmltopdf:
Image

System

(please complete the following information)

  • OS: iOS
  • Used font: left as default
  • OpenPDF version: Reproduced on 3.0.0, 2.4.0, and 2.2.4

Your real name

Eric Duffy

Lingua principale
Java
Stelle
4.4k
Fork
714
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LibrePDF/OpenPDF

Tutte le issue di LibrePDF/OpenPDF

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.