alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
397 stars 111 forks source link

How to user pdfkit text features? #153

Open ronak2898 opened 2 years ago

ronak2898 commented 2 years ago

doc .font("Tajawal-Regular") .fontSize(30) .text("مرحبا كيف حالك", { features: ["rtla"] })

How to user this doc.text features or pass into SVGtoPDF(doc, svg, 0, 0) @alafr