Problem with running 32-bit executable on 64-bit Windows

I will add 500 of my own reputations as a reward when SO allows me.

I use wkhtmltopdf to convert HTML pages to PDF files. This works fine on my 32-bit dev server [unfortunately, I cannot send my machine: -p]. However, when deploying a web application on a 64-bit server, the following errors are displayed: (works 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.... 

and PDF is created and saved ... only WITHOUT text. All form fields, images, borders, tables, divs, spans, ps, etc. Displayed for sure ... just devoid of any text.

Server Information:

  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 

Can someone let me know what is happening and how can I fix it?

Also, I was not sure what to tag / drive this question ... so if you can think of better tags / headers, comment on them or edit the question. :-)

+4
source share
1 answer

Well, the correct answer was to simply restart the Production server. Some font services were supposed to crash quietly for an unknown reason. Let this be a lesson for all of us.

+1
source

Source: https://habr.com/ru/post/1309443/


All Articles