Re: [NTG-context] Converting normal font into bold
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") - "bi ayaatillah" (overlapping of fatha and hamza) And besides from that: It is not so harmonic like the other font, seems more like a not-caligraphic hand-font (no offense of course :)) But possibly I am making something very wrong, can you help me? Thank you very much. My project is to typesetting quran completely, and that is not easy without an perfect font. If you have a commercial variant with license, please inform me, our company would surely buy it. Thanks and wassalam
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
participants (2)
-
"H. Özoguz"
-
Khaled Hosny