ABCpdf 将文本转换为图像
我使用 ABCpdf 输出 pdf 文档。 EAN-13字体已成功用于条形码打印,我想将其转换为PDF文档上的图像。有什么想法吗?
I use ABCpdf to output pdf documents. The EAN-13 font is successfully used for barcode printing and I want to convert it to an image on the PDF document. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果它是简单的条形码字体,则嵌入该字体,然后添加文本。例如:
如果您想要图像而不是嵌入字体,那么完成此操作后,您可以光栅化文档的部分并将其添加到新的 PDF 中。像这样的东西:
If it's a simple barcode font then embed the font and then add the text. Something like:
If you want an image rather than an embedded font then after you've done this you can rasterize the section of the doc and add it to a new PDF. Something like this: