On Sun, Nov 24, 2013 at 08:53:00PM +0100, "H. Özoguz" wrote: > Again, because arabic seems to be vanished in my first posting, I dont know > why. > > > Thanks Khaled, > > the Naskh-Style is not an absolute requirement, but it is very well > known and very common (at least for muslims in germany) - and it is very > nice, of course, this is an question of flavor. > > I know your font, of course, but I had always problems with it in > typesetting quran. Maybe you can help? > > See the following code: > > > \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt] > \definefont[arabicb][file:uthmantn1ver10.ttf*arabic at 17pt] > \starttext > > \setupalign[r2l] > > \arabicamiri مِن قَبْلُ هُدًى لِّلنَّاسِ وَأَنزَلَ ٱلْفُرْقَانَ ۗ > إِنَّ ٱلَّذِينَ كَفَرُوا۟ بِـَٔايَـٰتِ ٱللَّهِ لَهُمْ عَذَابٌ شَدِيدٌ ۗ > وَٱللَّهُ عَزِيزٌ ذُو ٱنتِقَامٍ > > \blank\blank > > \arabicb مِن قَبْلُ هُدًى لِّلنَّاسِ وَأَنزَلَ ٱلْفُرْقَانَ ۗ إِنَّ > ٱلَّذِينَ كَفَرُوا۟ بِـَٔايَـٰتِ ٱللَّهِ لَهُمْ عَذَابٌ شَدِيدٌ ۗ > وَٱللَّهُ عَزِيزٌ ذُو ٱنتِقَامٍ\par > \stoptext > > There are some issues within this example: > > - overlapping letters (see "Aziyz")
This can be easily fixed (I can send you a fixed version if you want, but better to discuss those issues off list). > - "bi ayaatillah" (overlapping of fatha and hamza) It is my believe that Unicode has the wrong properties for Arabic standalone Hamza; in short you should just type a regular Hamza in the middle of the word and it will get positioned correctly. Placing a combining Hamza over a Tatweel to “fake” it is wrong IMO. So in Amiri you just type “بِءَايَٰتِ” and voilà, every thing is rendered correctly (the same is true for the small Alef). It seem I just found a few ConTeXt bugs with the font, off to prepare some tests for Hans… (just if I can use HarfBuzz and forget about all this!). Regards, Khaled ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________