PDFNet Word splits into multiple lines

When I have a sentence with long words, the words at end of line get split into two lines.

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems you’re experiencing an issue where words are being split across lines when rendering a PDF document. This can occur due to how text is laid out and wrapped within the PDF document. Apryse’s PDFNet library provides various tools to manage text rendering and formatting to avoid such issues.

Some things you can try:

  • Ensure that the text layout settings are configured to prevent word splitting. You may need to adjust the text wrapping or justification settings.

  • Consider using a different font or font size that accommodates longer words without requiring splits.

  • Check the document’s margins and column widths to ensure they are wide enough to contain longer words without splitting.

  • Use PDFNet’s capabilities to programmatically adjust text layout and formatting when generating or editing PDF documents.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello appun1921,

Thank you for reaching out.

To diagnose further we require the following information.

  1. Source input file
  2. JavaScript console output showing all warnings and errors.
  3. Network panel showing all failed network traffic
  4. Can you reproduce the issue using our samples (especially on our site)? https://showcase.apryse.com/
  5. Does the issue only occur in certain browsers and/or devices? If so what are the details?
  6. Are you using WebViewer Server?
  7. What version of WebViewer are you running?
  8. Video or image showing expected vs actual output
  9. Any relevant code snippets to reproduce the issue

Best Regards,
Darian

1 Like