Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

letter-spacing not respected by openpdf-html

Đang mở
#1,417 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
4.4k
Fork
714
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LibrePDF/OpenPDF

Tất cả issue của LibrePDF/OpenPDF

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.