Using continued with center and right alignment is broken
See original GitHub issueUsing continued will not remeasure the text position in order to account for new text being added.
doc.text('Normal Text ', {
align: 'left',
continued: true
}).text('Non-overlapping text');
doc.moveDown();
doc.text('Normal Text ', {
align: 'center',
continued: true
}).text('Overlapping text');
doc.moveDown();
doc.text('Normal Text ', {
align: 'right',
continued: true
}).text('Overlapping text');
Produces the following:
Issue Analytics
- State:
- Created 9 years ago
- Reactions:11
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Align text left and right on same line | Microsoft Word - YouTube
Align text left and right on same line | Microsoft WordVideo guide to use alignment in word...
Read more >Center one and right/left align other flexbox element
The simplest solution will be to justify-content center to the parent container and giving margin-left auto to first ...
Read more >How to Align or Justify Text in Word (4 Ways with Shortcuts)
Align center – select the paragraph(s) and press Ctrl + E to align center. Justify – select the paragraph(s) and press Ctrl +...
Read more >text-align-last - CSS: Cascading Style Sheets - MDN Web Docs
The affected line is aligned per the value of text-align , unless text-align is justify , in which case the effect is the...
Read more >Check Alignment is completely broken - Tech Support is No ...
Go to the File menu, then select Printer Setup. Select the type of form in the Form Name drop-down list. Choose Continuous (Perforated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey all,
I created a package to solve this issue. Maybe it helps some of you!
textbox-for-pdfkit
Any updates on that?