在 64 位 Windows 上运行 32 位可执行文件的问题 [英] Issue running 32-bit executable on 64-bit Windows

查看:28
本文介绍了在 64 位 Windows 上运行 32 位可执行文件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果 SO 允许,我将增加 500 名我自己的代表作为赏金.

我正在使用 wkhtmltopdf 将 HTML 网页转换为 PDF.这在我的 32 位开发服务器上完美运行[不幸的是,我无法运送我的机器:-p].但是,当我部署到 Web 应用程序的 64 位服务器时,会显示以下错误:(从 cmd.exe 运行)

I'm using wkhtmltopdf to convert HTML web pages to PDFs. This works perfectly on my 32-bit dev server [unfortunately, I can't ship my machine :-p ]. However, when I deploy to the web application's 64-bit server the following errors are displayed: (running from cmd.exe)

C:>wkhtmltopdf http://www.google.com google.pdf
Loading pages (1/5)
QFontEngine::loadEngine: GetTextMetrics failed ()            ] 10%
QFontEngineWin: GetTextMetrics failed ()
QFontEngineWin: GetTextMetrics failed ()
QFontEngine::loadEngine: GetTextMetrics failed ()
QFontEngineWin: GetTextMetrics failed ()
QFontEngineWin: GetTextMetrics failed ()
QFontEngineWin: GetTextMetrics failed ()
QFontEngine::loadEngine: GetTextMetrics failed ()            ] 36%
QFontEngineWin: GetTextMetrics failed ()
QFontEngineWin: GetTextMetrics failed ()
// ...etc....

并且 PDF 被创建并保存......只是没有文本.所有表单域、图像、边框、表格、div、跨度、ps 等都被准确呈现......完全没有任何文本.

and the PDF is created and saved... just WITHOUT text. All form-fields, images, borders, tables, divs, spans, ps, etc are rendered accurately...just void of any text at all.

服务器信息:

    Windows edition: Windows Server Standard Service Pack 2
    Processor: Intel Xeon    E5410 @ 2.33GHz 2.33 GHz
    Memory: 8.00 GB
    System type: 64-bit Operating System

谁能告诉我发生了什么以及我该如何解决这个问题?

另外,我不确定用什么标记/标题这个问题......所以如果你能想到更好的标记/标题评论它们或编辑问题.:-)

推荐答案

嗯,正确的答案是重新启动生产服务器.某些字体服务一定是出于某种未知原因默默地崩溃了.愿这对我们所有人都是一个教训.

Well, the correct answer was just to restart the Production server. Some font-service must have silently crashed for some unknown reason. May this be a lesson to us all.

这篇关于在 64 位 Windows 上运行 32 位可执行文件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆