No glyph for U+000D in font Helvetica

*爱你&永不变心* 提交于 2019-12-24 07:47:39

问题


How to solve this for pdfbox with boxable.

I am getting in table.draw as

No glyph for U+000D in font Helvetica

What to do.I am building table with boxable


回答1:


That error tells you that your strings you use to fill the tables contain CR (carriage return) characters.

Do not use control characters (like CR, LF, TAB, ...) in those string as your software stack does not interpret them to mean something like a line break; instead it tries to interpret it as a glyph in the font which it fails doing.

If you need to break lines in boxable tables, try using <p> or <br> instead. According to their README, they support

HTML tags in cell content (not all! <p>,<i>,<b>,<br>,<ul>,<ol>,<li>)



来源:https://stackoverflow.com/questions/43738550/no-glyph-for-u000d-in-font-helvetica

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!