php生成pdf文件DomPDF

相关链接:

https://github.com/dompdf/dompdf
DomPDF的中文支持: https://blog.csdn.net/u012560213/article/details/80914406
DomPDF使用记录: https://blog.csdn.net/nx_xn/article/details/89534120
https://cloud.tencent.com/developer/article/1476893

    $options = new Options();
    //$options->set('defaultFont', 'simkai');
    $options->setIsFontSubsettingEnabled(true);  // 生成的pdf瘦身
    $options->setIsRemoteEnabled(true);		  // 支持网络图片

相关链接:https://segmentfault.com/a/1190000020364074?utm_source=tag-newest

    原文作者:大脸猫脸大
    原文地址: https://blog.csdn.net/sfmcatl/article/details/105239450
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞