为什么CFDocument创建的PDF是空白的?
我有 CFDocument 生成 PDF。当 PDF 打开时,我可以简单地看到它应有的样子。然后它就消失了。无论如何,明显消失了,因为我可以通过单击周围找到其中一张图像,右键单击它,将其复制出来并将其粘贴到图像编辑器中。所以内容在那里但不可见。有什么想法吗?
I have CFDocument generating a PDF. When the PDF opens, I can briefly see it as it should be. Then it disappears. Visibly gone anyway because I can find one of the images by clicking around, right click on it, copy it out and past it into an image editor. So the content is there but not visible. Any ideas what's going on?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我们的例子中,这是服务器之间的差异。我猜想我们在一台服务器上发现了 CF7 的秘密更新,而在另一台服务器上则没有。我所说的“秘密”是指使用相同 ID 发布了两个不同的修补程序。为了解决这个问题,我们的系统管理员对所有 CF .jar 文件进行了逐个文件比较,并找到了需要应用的内容。
In our case this turned out to be a difference between servers. I guess there was a stealth update to CF7 that we picked up on one server and not the other. By stealth I mean that there were two hotfixes issued with the same ID that were different. To fix this our Sys Admin did a file by file comparison of all the CF .jar files and found what needed to be applied.