The way rtl is supported in pdfkit is by passing `features` prop to the `text` function https://github.com/foliojs/pdfkit/issues/219#issuecomment-1895751382 Please allow to pass the `features` props to the `table` function. Something like ``` const table = { title: "כותרת", subtitle: "Subtitle", headers: [ "Country", "Conversion rate", "Trend" ], rows: [ [ "Switzerland", "12%", "+1.12%" ], [ "France", "67%", "-0.98%" ], [ "England", "33%", "+4.44%" ], ], textFeatures: ['rtla'] } ``` And pass it here https://github.com/natancabral/pdfkit-table/blob/707a1917d6f628ddc12b72c7010a1b25d108030f/index.js#L555-L560 When I think about it, allowing setting `align` is also a good idea
The way rtl is supported in pdfkit is by passing
featuresprop to thetextfunctionfoliojs/pdfkit#219 (comment)
Please allow to pass the
featuresprops to thetablefunction. Something likeAnd pass it here
pdfkit-table/index.js
Lines 555 to 560 in 707a191
When I think about it, allowing setting
alignis also a good idea