danfickle / danfickle/openhtmltopdf
How to map font names?
Open
Documentation required
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 423
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm using the library to convert random (user-generated) HTML to PDF.
I can't find how to map font names to existing fonts.
When HTML style says "Arial" (without alternatives like "helvetica, sans-serif") we get the serif/Times default font.
How do I map common names so we get better guesses for eg classic Internet Explorer font name? Arial, Courier New, etc.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.