Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DomPDF を使用して動的に作成された PDF を作成してきましたが、理解できない問題に遭遇しました。
提供された領域でテキストが自動的に折り返されるように、オブジェクトに幅と高さを与える方法はありますか? 私はドキュメントを見てきましたが、私が見つけることができるものは何もありません。
文字列を取得して特定の長さに分割し、テキスト オブジェクトを使用して各行を 1 つずつ挿入することで、これを回避しました。