danfickle / danfickle/openhtmltopdf

Bullet points too big when injecting fonts like cjk

Open
#850 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

Bullet points in unordered lists appear to be sized base on 1/3 of the ascent + descent from font metrics. When you inject fonts like cjk which have a larger maximum total font height the calculated diameter is way to big.
From the cjk example in the sandbox...
![image](https://user-images.githubusercontent.com/3289829/176139228-11361d29-8df1-4b3e-9273-f4b5f4ec5bc4.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.