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
Describe the bug
When rendering a portrait A4 page using the docxjs library, the displayed aspect ratio (height/width) is incorrect. Specifically, the page appears with an aspect ratio of up to 2.1 instead of the standard 1.414 for A4 paper.
Document
any
Expected behavior
The A4 page should display with the correct aspect ratio of 1:√2 (approximately 1.414), ensuring accurate representation of the document’s layout.
Screenshots
no
Desktop (please complete the following information):
any
Additional context
no
The text was updated successfully, but these errors were encountered:
Most likely content of "page" extended height of "page". MS Word (or other application) checks if content fits page and move to next page (does a page breaking). This library does not do it due to complexity and perfomence issue.
Describe the bug
When rendering a portrait A4 page using the docxjs library, the displayed aspect ratio (height/width) is incorrect. Specifically, the page appears with an aspect ratio of up to 2.1 instead of the standard 1.414 for A4 paper.
Document
any
Expected behavior
The A4 page should display with the correct aspect ratio of 1:√2 (approximately 1.414), ensuring accurate representation of the document’s layout.
Screenshots
no
Desktop (please complete the following information):
any
Additional context
no
The text was updated successfully, but these errors were encountered: