[poppler] Preventing pdftohtml from flooring the font size

Keith Strong Keith_Strong at newflyer.com
Wed May 26 23:15:47 UTC 2021


I'm noticing that font sizes are being floored in both -xml and regular .html output. I've tried setting the options "-zoom 1" and "-noroundcoord", and it doesn't seem to make any difference. E.g.:

- at default zoom (1.5) size 6.48 type becomes 9 instead of 9.72
- at -zoom 1 size 6.48 type becomes 6
- at default zoom (1.5) size 9 type becomes 13 instead of 13.5

Is there a way to get a more accurate font size, like I can with pdftoxml?

Thanks!
________________________________
CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited. If you received this communication in error or if it is forwarded to you without the express authorization of NFI Group Inc. or New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you.
________________________________
? Please consider the environment before printing this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20210526/d03065a5/attachment.htm>


More information about the poppler mailing list