R&D #1430
ferméManage RTL in produced PDF
100%
Description
See if TCPDF can handle RTL languages like Arabic, and how to implement it the right way.
Mis à jour par Johan Cwiklinski il y a plus de 4 ans
- Sujet changé de Manage LTR in produced PDF à Manage RTL in produced PDF
Mis à jour par Johan Cwiklinski il y a plus de 4 ans
See https://tcpdf.org/examples/example_018/
As far as I can see, the only problem would be to know current language direction.
Mis à jour par Johan Cwiklinski il y a plus de 4 ans
It seems PHP offer no way to get language direction, direct nor indirect. Other apps I've seen brings this information from their translation files. In MDN article above, direction is checked from an array of RTL langs, this may be applicable to Galette.
Mis à jour par Johan Cwiklinski il y a plus de 4 ans
- Statut changé de Nouveau à In Progress
- Version cible mis à 0.9.4
- % réalisé changé de 0 à 90
It's almost done. Some notes:
- there may be an override issue on header when description (from preferences) is too long. Seems to be a bug in the lib used. It is quite simple using PDF models to change header in that case,
- RTL does not seems relevant on members card
- I do not know if this is really useful on generated labels.
All other should be OK.
Mis à jour par Johan Cwiklinski il y a plus de 4 ans
- Statut changé de In Progress à Résolu
- % réalisé changé de 90 à 100
Appliqué par commit 5639cf889c586041a1110789d0e6a772a5b99a30.