ポスト

Pythonの入門書を読んでて、xhtml2pdfで日本語フォント埋め込みのサンプルコードが動かなくて、そのまま学習を中断していたのだけど、このサイトで紹介されている方法で上手く動いた。 xhtml2pdfのフォント指定でエラーが出ます。 teratail.com/questions/cma3… #teratail #PDF #Python3.x #Python #font

メニューを開く

chiyu@_____________________________________@chiyushenzhi

みんなのコメント

メニューを開く

実際には、こちらのサイトの「I suggest adding those two monkey-patches before calling pisa.CreatePDF.」以下のコードをコピペするとエラーが出なくなった。 `TTFError: Can't open file` on Windows · Issue #623 · xhtml2pdf/xhtml2pdf · GitHub github.com/xhtml2pdf/xhtm…

chiyu@_____________________________________@chiyushenzhi

人気ポスト

もっと見る
Yahoo!リアルタイム検索アプリ