Ab-Alselwi / laravel-arabic-html

Convert laravel view to arabic html (pdf) using ArPHP and dompdf with arabic text
31 stars 11 forks source link

Formation of letters #4

Closed Bdiwy closed 3 weeks ago

Bdiwy commented 1 month ago

i try to use it and when i try to test for example sentance like 'َلْتَكُنْ نِعْمَةُ ٱلرَّبِّ إِلَهِنَا عَلَيْنَا، وَعَمَلَ أَيْدِينَا ثَبِّتْ عَلَيْنَ، وَعَمَلَ أَيْدِينَا ثَبِّتْهُ' or ' ٱية عمرو احمد' i got error Undefined array key "ٱ"

is the package support formation of arabic letters

chemseddine201 commented 1 month ago

i try to use it and when i try to test for example sentance like 'َلْتَكُنْ نِعْمَةُ ٱلرَّبِّ إِلَهِنَا عَلَيْنَا، وَعَمَلَ أَيْدِينَا ثَبِّتْ عَلَيْنَ، وَعَمَلَ أَيْدِينَا ثَبِّتْهُ' or ' ٱية عمرو احمد' i got error Undefined array key "ٱ"

is the package support formation of arabic letters

share the full stack traces please.

Bdiwy commented 1 month ago

i have an invoice generator and the invoice need to be lines of arabic so i use ur package to handle this and every thing is fine but when i enter a formatting letters some like "ٱية" i got an error Undefined array key "ٱ" here is the the snapcode code-snapshot in line 33 when i use -> toArabicHTML ();

chemseddine201 commented 1 month ago

Surround your code with try-catch block then print the error on the catch section to provide the full traces.

Bdiwy commented 1 month ago

i got Undefined array key "ٱ"