2

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

user1213199
  • 57
  • 2
  • 7

1 Answers1

4

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>)

mkl
  • 90,588
  • 15
  • 125
  • 265