Does Laravel Dompdf support subsetting otc fonts?

纵然是瞬间 提交于 2021-01-29 09:39:23

问题


I've been using vsmoraes dompdf for generating pdf and I use Arial unicode MS (.ttf) which work perfectly with font subsetting enabled. Since it's not free, I tried to move to Noto Sans.

But I get a error when I enable font subsetting. .ttf works fine. But not .otc

#message: "Undefined index: glyf"

vsmoraes version - 1.0.

Is there any laravel library that I can use which support font subsettings with .otc font type ? or is there any suggestions

来源:https://stackoverflow.com/questions/54461754/does-laravel-dompdf-support-subsetting-otc-fonts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!