Issue Content:
The text is overlapped by default when using the IPAMP Mincho font in the PDFMake JS library. I attempted to use line height and margin adjustments to mitigate this issue. However, this introduced another problem: an extra empty partial row appears at the bottom of the page. Check the attached images.
I have used the dontBreakRows: true property, which works appropriately for a specific range of text that fits within a single page. However, my content is dynamic, and some columns can contain up to 4000 characters, meaning they will inevitably span multiple rows across multiple pages. The dontBreakRows: true property resists this natural behavior, causing layout issues, and the row is missing in the report. Also, I want to mention that I have nested tables for a few columns, as you can see columns 5,6,7.
Steps to Reproduce:
- Configure pdfMake to use IPAmp Mincho font.
- Generate a document containing multiple lines of text.
- Keep a nested table for two or three columns.
- Observe that the text overlaps.
- Adjust line height or margins to resolve the overlap.
- Also tries to give margin for the row text.
- Notice that this adjustment causes extra empty rows to appear at the bottom of each page.
- Check the jsfiddle link, download and observe page no 4, you will see the empty row.
JsFiddle Link
Expected Behavior:
- The text should be properly spaced without overlap.
- Adjusting line height or margins should not introduce unwanted empty rows.
Observed Behavior:
- Text overlap occurs by default.
- Applying line height or margin adjustments results in an extra empty partial row at the bottom of the page.
Issue Content:
The text is overlapped by default when using the IPAMP Mincho font in the PDFMake JS library. I attempted to use line height and margin adjustments to mitigate this issue. However, this introduced another problem: an extra empty partial row appears at the bottom of the page. Check the attached images.
I have used the dontBreakRows: true property, which works appropriately for a specific range of text that fits within a single page. However, my content is dynamic, and some columns can contain up to 4000 characters, meaning they will inevitably span multiple rows across multiple pages. The dontBreakRows: true property resists this natural behavior, causing layout issues, and the row is missing in the report. Also, I want to mention that I have nested tables for a few columns, as you can see columns 5,6,7.
Steps to Reproduce:
JsFiddle Link
Expected Behavior:
Observed Behavior: