Skip to content

Improve pdf text rendering

Lukas Möller requested to merge improve-pdf-text into staging
  • PDF text rendering was a bit broken in the vseth-components branch, I almost forgot to fix it. Somehow setting the font-family breaks the text width, but pdf-js text output also is a bit broken. Now only text is only rendered when the user can see it whereas previously the entire page would be rendered. Pdf-js docs about transform and style isn't really good, I tested it using 4 PDFs and saw improvements.

  • Small fix in pdf-section-canvas

  • removed unused import

Merge request reports

Loading