I was struggling for about 15 minutes, until I was able to create all the tables. I will document the whole process, so I can share with you how I do it. Pdfkit-table — NPM Dec 17, 2024 — My code is working fine and my tables looks good. All the tables are generated based on this code. I have been working on a PDF creation library (using profit) using Node.js. The code works without any problems, and works as desired to create tables. The table data are generated by extracting parts out of the PDF pages and putting them together. I will post the complete process of creating a PDF table with profit, in the near future. It can be used to generate PDF's and/or tables, based on formulas. The generated tables will look pretty similar to the ones I have had made so far, using table and font generated from formulas. PDFKit-table — NPM Nov 10, 2024 — Using PDF Kit for generating the PDF tables. PDF Kit works perfectly for this task. I'm still learning as it is my first time using profit, but it's a very cool library. PDFKit-table — NPM Sept 30, 2024 — This is one of the most common tasks of creating a PDF document. Using profit we were able to extract the text in one table. It's also cool because once the page is in the PDF, the text is replaced with profit data. PDFKit-table — NPM Jul 3, 2024 — Using PDF Kit to create PDF tables. It works for this example. Pdfkit-table — NPM Jun 30, 2024 — pdfkit-table works just fine. All the code worked without any error. There was a problem with one of the tables. It didn't look right. It's not a problem of profit. The solution was to get rid of that table. In one of the tables we were dealing with text, which could be extracted from the PDF page. However, I don't have a function to extract that text. There you have this solution.