Skip to content
New issue

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

Support RTL languages #42

Open
ChrisHardie opened this issue Jan 13, 2022 · 0 comments
Open

Support RTL languages #42

ChrisHardie opened this issue Jan 13, 2022 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@ChrisHardie
Copy link
Owner

We need to use https://developer.wordpress.org/reference/functions/is_rtl/ to detect if the current system locale uses RTL and then set

$pdf->setRTL(true);

as a part of PDF generation.

@ChrisHardie ChrisHardie added bug Something isn't working enhancement New feature or request labels Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant