We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When text indented with indentAllLines wraps to a new page the indent is lost.
indentAllLines
const pdfkit = require('pdfkit'); const { createWriteStream } = require('fs'); const doc = new pdfkit(); doc.pipe(createWriteStream('out.pdf')); doc.y = 660; doc.text( 'Lorem ipsum odor amet, consectetuer adipiscing elit. Metus est cubilia elit nulla vestibulum viverra vel. Blandit lobortis pulvinar dis pretium sem suspendisse. Habitasse fringilla dis cras iaculis himenaeos. Vitae habitasse tristique id torquent nascetur senectus pellentesque. Luctus at iaculis hendrerit aliquam posuere cursus. Taciti tristique magna tellus feugiat est justo lacinia amet. Facilisi feugiat lacinia hac fermentum porta nascetur parturient? Hendrerit inceptos volutpat sed ac tortor ipsum auctor tempor.', { indent: 50, indentAllLines: true }, ); doc.end();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Description of the problem
When text indented with
indentAllLines
wraps to a new page the indent is lost.Code sample
Your environment
The text was updated successfully, but these errors were encountered: