Creating a paragraph with a single text object when line wraps are known?

43 views
Skip to first unread message

Surtik S

unread,
Jul 18, 2025, 1:55:28 AMJul 18
to pdfium
I'm looking for some guidance regarding text rendering in Pdfium.
Is it possible to render an entire paragraph as a single text object in Pdfium, even if that paragraph spans multiple visual lines?
My specific scenario is that I already have the text broken down into individual lines, and I know precisely where each line break should occur. Essentially, I have a list of strings, each representing a line of text that collectively forms a paragraph. My goal is to have Pdfium treat this multi-line paragraph as one cohesive text unit, rather than multiple separate text objects for each line.

Reply all
Reply to author
Forward
0 new messages