为什么在 php 中通过 dompdf 将 html 转换为 pdf 时,某些单词被压缩并且单词之间的空格被删除
Why are some words being compressed and spaces between words are being removed when converting html to pdf via dompdf in php
为什么在 php 中通过 dompdf 将 html 转换为 pdf 时,某些单词被压缩并且单词之间的空格被删除?
如果您在附图中看到,“it by”、“stand for”、“financial standing”和“less (optimum)”之间的空格都被删除了。
我通过将段落内容放入 php 中的自动换行函数解决了这个问题。示例:wordwrap('content string',100)
为什么在 php 中通过 dompdf 将 html 转换为 pdf 时,某些单词被压缩并且单词之间的空格被删除?
如果您在附图中看到,“it by”、“stand for”、“financial standing”和“less (optimum)”之间的空格都被删除了。
我通过将段落内容放入 php 中的自动换行函数解决了这个问题。示例:wordwrap('content string',100)