doubomudichen0832 2013-07-19 11:47
浏览 29

DOMPDF不会在Unix上呈现文本

I have a problem with a DOMPDF script that worked fine on Windows and IIS but now fails on MacOSX running Apache 2.2.

The PHP version is 5.3 and DOMPDF is 0.6.0 beta3. As far as I can understand I have followed the setup steps correctly.

The only font in use is Helvetica which should be supported out of the box by DOMPDF. Correct?

I have set chmod 1777 to the font directory. I have NOT run the load_font.php script but when using helvetica I should not have to, correct?

Paths to the lib and font directories are set correctly.

The PDF file is created, the table borders are showing and a image is inserted on the right place. The only thing not showing is the text. If I render the HTML to a browser everything looks fine.

I guess there is something about fonts when creating PDFs on unix that I don´t understand. Does anyone know what I could be missing? Any help is much appreciated!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥100 set_link_state
    • ¥15 虚幻5 UE美术毛发渲染
    • ¥15 CVRP 图论 物流运输优化
    • ¥15 Tableau online 嵌入ppt失败
    • ¥100 支付宝网页转账系统不识别账号
    • ¥15 基于单片机的靶位控制系统
    • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度