You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a scenario where my text is larger than the text box in the PDF, it is cutting off the text and only displaying the text which fits with in it .It is not wrapping and displaying in next line.could you please help me on this.
The text was updated successfully, but these errors were encountered:
thanks for the quick response.can you please let me know the function to split the text and append the text.we have tried using the Quote but it din't give any results.
so we also tried adding \n between the texts,even it didnt give any results.when we focus on the field it adjusts and wraps to multiple lines.
there's no command to split the text, you just put substrings of the text every time, per the measurements.
there's no \n in pdf, you move the position to a lower position.
you provide both x and y position to ctx.writeText() so you can use that.
to compute line height i like to use the height of 'd' in a font (which is a semi official way of doing that).
i once wrote something to compose text in a box. it includes bidi support and differet styles, and might be too much to read for what you need, but here it is if it helps:
Hi
I have a scenario where my text is larger than the text box in the PDF, it is cutting off the text and only displaying the text which fits with in it .It is not wrapping and displaying in next line.could you please help me on this.
The text was updated successfully, but these errors were encountered: