为什么使用 FPDF 和 PHP 生成的 PDF 中出现意外空格?
我正在使用 FPDF 在 PDF 上写入一些文本。我正在显示 8 个不同的文本单元格。单元格正在显示,但在两个单元格之后,它将下一个单元格放到新页面上,就像我要求制作一个新的 PDF 页面一样,但我没有。我猜它以某种方式将它们推倒并将其推到下一页。我怎样才能摆脱这些烦人的空格并使其仅适合一个 PDF 页面?
我正在使用 FPDF 类 - http://fpdf.org/en/doc/index.php
I'm using FPDF to write some text on a PDF. I'm displaying 8 different cells of text. The Cells are being displayed, but after two cells, it puts the next cell onto a new page as If I had asked for a new PDF page to be made, but I did not. I'm guessing it is somehow pushing them down and pushing it onto the next page. How can I get rid of these annoying spaces and make it all fit on only the one PDF page?
I am using the FPDF Class - http://fpdf.org/en/doc/index.php
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看
look at