dompdf fails to load

后端 未结 7 752
谎友^
谎友^ 2020-12-29 03:23

I am trying to get dompdf running on an in-house server. With the default config.inc.php settings, I get the following when running the equivalent of the demo \'Hello Wolrd\

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-29 04:26

    • Go to https://github.com/PhenX/php-font-lib and download the library.
    • Create the dompdf/lib/php-font-lib/classes/ directory.
    • In the zip file, take the contents of the src/FontLib/ folder and paste that into your newly created directory.

    That seemed to work for me.

提交回复
热议问题