最新の静的ビルドwkhtmltopdf-amd64(0.12.3)をインストールしました。 PDFに変換するHTMLページでは、テキストは実線の四角で表示されます。wkhtmltopdfが文字化けした文字を出力する
PDFとして、Googleのホームページの例:
[[email protected] bin]# ./wkhtmltopdf-amd64 http://google.com goog.pdf
あるいは、ここでも単純なHTMLソースドキュメントです:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The HTML5 Herald</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
</head>
<body>
<p>Hello world.
<table><tr><td>I am a table</td></tr></table>
<pre>formatted</pre>
</body>
</html>
出力:
これは何が原因でしょうか?