We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa3230c commit 0cead69Copy full SHA for 0cead69
fpdf/fpdf.py
@@ -2861,7 +2861,8 @@ def multi_cell(
2861
w = self.w - self.r_margin - self.x
2862
if w <= 2 * self.c_margin:
2863
raise FPDFException(
2864
- "Not enough horizontal space to render cell. Consider introducing a line break."
+ "Not enough horizontal space to render cell."
2865
+ " Consider introducing a line break or using x_pos=XPos.LEFT in your previous call."
2866
)
2867
maximum_allowed_emwidth = (w - 2 * self.c_margin) * 1000 / self.font_size
2868
0 commit comments