Hi, I've read the documentation from pdfkit.org/docs/text.html
I have trouble putting two sets of text into 2 separate columns with a columnGap of 40.
After reading the documentation, I still haven't found a way to put two words "hello world" into 1 column and another two words "bye world" into a second column on the same row as the first column.
@sc4224 You need to specify the column top left positions and the width. Try something like this:
let col1LeftPos = 50;
let colTop = 50;
let colWidth = 100;
let col2LeftPos = colWidth + col1LeftPos + 40;
doc.fontSize(16)
.text('test col 1 test col 1 test col 1 test col 1 ', col1LeftPos, colTop, {width: colWidth})
.text('test col 2 test col 2 test col 2 test col 2 ', col2LeftPos, colTop, {width: colWidth})
Should look like:

Most helpful comment
@sc4224 You need to specify the column top left positions and the width. Try something like this:
Should look like:
