R&D #1430
closedManage RTL in produced PDF
100%
Description
See if TCPDF can handle RTL languages like Arabic, and how to implement it the right way.
Updated by Johan Cwiklinski over 4 years ago
- Subject changed from Manage LTR in produced PDF to Manage RTL in produced PDF
Updated by Johan Cwiklinski over 4 years ago
See https://tcpdf.org/examples/example_018/
As far as I can see, the only problem would be to know current language direction.
Updated by Johan Cwiklinski over 4 years ago
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.
Updated by Johan Cwiklinski over 4 years ago
- Status changed from Nouveau to In Progress
- Target version set to 0.9.4
- % Done changed from 0 to 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.
Updated by Johan Cwiklinski over 4 years ago
- Status changed from In Progress to Résolu
- % Done changed from 90 to 100
Appliqué par commit 5639cf889c586041a1110789d0e6a772a5b99a30.
Updated by Johan Cwiklinski over 4 years ago
- Status changed from Résolu to Fermé