tcpdf 工作的最小文件列表
该包大小为 19 MiB,显得有些臃肿。是否可以移除不必要的组件以减小尺寸?
有谁有 tcpdf 提供的示例工作所需的最小文件列表吗?
The package seems bloated with a size of 19 MiB. Are there unecessary components I can remove to reduce the size?
Does anyone have a minimum list of files required for the examples provided with tcpdf to work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,但我所知道的是您可以删除图像中的所有图像文件,删除除“helvetica”之外的所有字体或您希望保留的任何内容,然后我刚刚删除文件夹,测试,另一个文件夹,测试,删除文件,测试等等,直到我达到最低限度
我希望这会有所帮助,我没有列表...实际上仍在我的开发服务器上使用完整安装
I have had the same issue, but all i know is you can remove ALL image files in images, remove all fonts except 'helvetica' or whatever you wish to keep, then I just removed folder, tested, another folder, tested, remove file, tested etc. until i had the bear minimum
I hope this helps, i don't have the list on me... actually still using the full installation on my dev server
TCPDF 的最小安装:
- tcpdf_include.php(主要用于调用 require)
- tcpdf.php(必需 - 库)
- tcpdf_autoconfig.php(必需)
- config/tcpdf_config_alt.php(用于配置)
- tcpdf_barcodes_1d.php(仅当使用条形码时)
- tcpdf_barcodes_2d.php(仅当使用条形码时)
- include/barcodes/* (仅当使用条形码时)
- include/.php(必需)
- include/.icc(必需)
- fonts/helvetica.php(主要字体)
- fonts/pdfahelvetica.php(主要字体)
- fonts/pdfahelvetica.z(主要字体)
其他字体,必须添加到字体文件夹中。
Minimal installation of TCPDF:
- tcpdf_include.php (main for call in require)
- tcpdf.php (required - library)
- tcpdf_autoconfig.php (required)
- config/tcpdf_config_alt.php (for config)
- tcpdf_barcodes_1d.php (only when use barcode)
- tcpdf_barcodes_2d.php (only when use barcode)
- include/barcodes/* (only when use barcode)
- include/.php (required)
- include/.icc (required)
- fonts/helvetica.php (main font)
- fonts/pdfahelvetica.php (main font)
- fonts/pdfahelvetica.z (main font)
Other fonts, must be add in fonts folder.