简体   繁体   English

字体打印中的MPDF错误

[英]MPDF bug in font printing

I'm using MPDF to generate a PDF from an html page, I'm having some trouble when I try the capital letter J. As you can see on the picture the J letter isn't on the same line as the other letter. 我正在使用MPDF从html页面生成PDF,在尝试使用大写字母J时遇到了一些麻烦。从图片中可以看到,J字母与其他字母不在同一行。 Can anybody help me fixing it please? 有人可以帮我修复它吗? Thank you. 谢谢。

mpdf错误图片]

This is no bug of MPDF, this is a feature of the font in question. 这不是MPDF的错误,这是有关字体的功能。

While indeed most capital letters here sit upon the base line, the fact that the J (and also the Q) go below it is not an error but a matter of font design. 尽管实际上大多数大写字母都位于基线上,但是J(以及Q)位于其下方的事实不是错误,而是字体设计的问题。

It in particular improves the readability of text in this font because it makes the I and the J easier to distinguish. 尤其是,由于它使I和J易于区分,因此提高了此字体中文本的可读性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM