开发者

server side printing to PDF (MySQL --> image --> PDF ?? ) probs with embedded 中文 Chinese

开发者 https://www.devze.com 2023-01-18 21:54 出处:网络
We\'re running PHP homegrown app on linux serv开发者_StackOverflow社区er with MySQL. MYSQL ---> PDF

We're running PHP homegrown app on linux serv开发者_StackOverflow社区er with MySQL.

MYSQL ---> PDF

Very complex output - with English and Chinese (Simplified).

We've many 'corporate' customers without CHI on their systems, and are unable to add fonts to their machines (for security reasons).

We've embedded the fonts - but that makes the files HUGE (4-8M per PDF).

I'd LOVE To actually print to an IMAGE file, and then PDF it (So that I don't have to embed fonts)

Any suggestions?


"pdftk burst" the multipage pdf to single page.

"convert" single page pdfs to jpg

"convert" all jpgs to multipage pdf


Maybe using GD with imagettftext() ?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号