* Re: Converting normal font into bold
@ 2013-11-24 21:18 "H. Özoguz"
2013-11-24 22:02 ` Ondřej Hošek
2013-11-25 10:40 ` Khaled Hosny
0 siblings, 2 replies; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 21:18 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]
> 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).
Yes, that works. But the direct way works with Uhtmanic1HafsVer9:
\definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
\definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
\starttext
\setupalign[r2l]
\arabicamiri بِـَٔايَـٰتِ
\blank
\arabicuth بِـَٔايَـٰتِ
\stoptext
To be honest, in Corel Draw UthmanicHafs is the perfect font for my
purpose - at least in CorelDraw - e.g.: The ayat-numbers are printed as
a unicode-symbol, not as numbers (perfect, because ConTeXt has problems
with the direction with arabic numbers, they are mirrored in ConTeXt).
But it is only perfect in CorelDraw, in ConTeXt some things are not
recognized correctly, as I mentioned. E.g. this one:
\definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
\definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
\starttext
\setupalign[r2l]
\arabicuth لِّلْمُتَّقِينَ ﴿٢﴾
\stoptext
If I put the same arabic into CorelDraw, it prints a nice Unicode-Symbol
for the number - see the JPG I have attached here, screenshot from
CorelDraw, but ConTeXt ignores the brackets and prints just a verys
small number. There are some problems like this. Are they easy to fix,
or is this problem deeply involved?
Huseyin
[-- Attachment #2: lilmuttaqiyn.jpg --]
[-- Type: image/jpeg, Size: 19311 bytes --]
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 21:18 Converting normal font into bold "H. Özoguz"
@ 2013-11-24 22:02 ` Ondřej Hošek
2013-11-25 10:40 ` Khaled Hosny
1 sibling, 0 replies; 20+ messages in thread
From: Ondřej Hošek @ 2013-11-24 22:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Huseyin,
On Sun, Nov 24, 2013 at 10:18 PM, "H. Özoguz" <h.oezoguz@mmnetz.de> wrote:
> If I put the same arabic into CorelDraw, it prints a nice Unicode-Symbol for
> the number - see the JPG I have attached here, screenshot from CorelDraw,
> but ConTeXt ignores the brackets and prints just a verys small number. There
> are some problems like this. Are they easy to fix, or is this problem deeply
> involved?
Apparently, replacing a number enclosed in ornate parentheses (U+FD3E
and U+FD3F) with a number in the "end of ayah" ornament is a specialty
of the UthmanicHafs font. If I input the digit (e.g. U+0662) and then
the special non-printable "end of ayah" character (U+06DD), ConTeXt
and Amiri successfully output the digit inside the ornament.
Of course, since U+06DD is a non-printable character, it might be a
pain to work with in a text editor; you might want to define a custom
command for this purpose:
\def\eoa#1{#1\char"06DD}
Cheers,
~~ Ondra
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 21:18 Converting normal font into bold "H. Özoguz"
2013-11-24 22:02 ` Ondřej Hošek
@ 2013-11-25 10:40 ` Khaled Hosny
1 sibling, 0 replies; 20+ messages in thread
From: Khaled Hosny @ 2013-11-25 10:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Nov 24, 2013 at 10:18:47PM +0100, "H. Özoguz" wrote:
> >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).
>
> Yes, that works. But the direct way works with Uhtmanic1HafsVer9:
>
> \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
> \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
> \starttext
> \setupalign[r2l]
> \arabicamiri بِـَٔايَـٰتِ
> \blank
> \arabicuth بِـَٔايَـٰتِ
> \stoptext
I consider this wrong input so it is not supported by Amiri; the Hamza
in بءايت is exactly the same Hamza in ءايت prefixed with ب, so the same
Unicode character should be used in both, and Amiri goes to a great
length to support this. Using a combing Hamza (which is a different
Hamza) over a Tatweel is just a hack to emulate the same effect that you
get “natively” with Amiri, I may support it in the future, but it is not
a priority. If you read Arabic, the Amiri manual describes the proper
Unicode sequences to input some of the Quranic marks that people get
confused about because of the messiness of this area in Unicode (I
should translate the manual to English, but time is always an issue).
>
> To be honest, in Corel Draw UthmanicHafs is the perfect font for my purpose
> - at least in CorelDraw - e.g.: The ayat-numbers are printed as a
> unicode-symbol, not as numbers (perfect, because ConTeXt has problems with
> the direction with arabic numbers, they are mirrored in ConTeXt).
>
> But it is only perfect in CorelDraw, in ConTeXt some things are not
> recognized correctly, as I mentioned. E.g. this one:
>
> \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
> \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
> \starttext
> \setupalign[r2l]
> \arabicuth لِّلْمُتَّقِينَ ﴿٢﴾
> \stoptext
>
> If I put the same arabic into CorelDraw, it prints a nice Unicode-Symbol for
> the number - see the JPG I have attached here, screenshot from CorelDraw,
> but ConTeXt ignores the brackets and prints just a verys small number. There
> are some problems like this. Are they easy to fix, or is this problem deeply
> involved?
This seems like a font hack, the proper way to input the Aya mark is
what Ondřej describes in his reply.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-25 11:20 "H. Özoguz"
0 siblings, 0 replies; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-25 11:20 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]
> i tried to reproduce your issue but gave up because of the fact that
> it's unclear what (version) of the font is used ... you switched from 10
> to 09 and in 09 i see no 'big circular thing' so your version is
> different from the one i donwload ... so, i cannot even be certain that
> the font is okay ... so if you want to test:
>
> - make sure that you use fonts consistently
> - make sure we know where to get that version of the font
> - make sure that corel draw (or whatever) is using the same font
You are right, sorry to annoy you here, some chaos in my place ...
So, to clear all questions: for this min-example (which is at the moment
my last unsolved problem with this font) I used this font:
http://fonts.qurancomplex.gov.sa/download/UthmanicHafs1Ver09Font.zip
And yes, Corel Draw uses this font, too.
BUT: There might me some issue with this font relating this
end-of-aya-symbol, independent from ConTeXt. See the attached JPG, which
is the output of CorelDraw, if I input exactly the same arabic code,
like in my example.
You see in the picture a different behaviour between the one-digit and
two-digit numbers aswell. But it is a different behaviour from ConText,
the symbol is used, but the brackets are not replaced.
Can you reproduce it now?
Thanks!
Huseyin
[-- Attachment #2: jpg-endofaya-corel.jpg --]
[-- Type: image/jpeg, Size: 64537 bytes --]
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 23:34 "H. Özoguz"
2013-11-25 10:29 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 23:34 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]
> Thanks, that works fine:
>
> \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
> \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
> \def\eoa#1{#1\char"06DD}
> \starttext
> \setupalign[r2l]
> \arabicuth لأَفَبِهَـٰذَا ٱلْحَدِيثِ أَنتُم مُّدْهِنُونَ ﴿٨١﴾\eoa
> \stoptext
Now I could locate the error in ConText better, see this code and the
mistake, which occurs:
\definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
\define[1]\eoa{#1\char"06DD}
\starttext
\setupalign[r2l]
\arabicuth
إِنَّ ٱلَّذِينَ كَفَرُوا سَوَآءٌ عَلَيْهِمْ ءَأَنذَرْتَهُمْ أَمْ لَمْ تُنذِرْهُمْ لَا يُؤْمِنُونَ ﴿٦﴾\blank
إِنَّ ٱلَّذِينَ كَفَرُوا سَوَآءٌ عَلَيْهِمْ ءَأَنذَرْتَهُمْ أَمْ لَمْ تُنذِرْهُمْ لَا يُؤْمِنُونَ ﴿٦٦﴾
\stoptext
(I have attached the compiled PDF).
The first aya, with a single one-digit number is not regonized
correctly, but the second is (with a two-digit-number). Why?
Huseyin
[-- Attachment #2: endofayah.pdf --]
[-- Type: application/pdf, Size: 18840 bytes --]
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 23:34 "H. Özoguz"
@ 2013-11-25 10:29 ` Hans Hagen
0 siblings, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2013-11-25 10:29 UTC (permalink / raw)
To: ntg-context
On 11/25/2013 12:34 AM, "H. Özoguz" wrote:
>> Thanks, that works fine:
>>
>> \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
>> \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
>> \def\eoa#1{#1\char"06DD}
>> \starttext
>> \setupalign[r2l]
>> \arabicuth لأَفَبِهَـٰذَا ٱلْحَدِيثِ أَنتُم مُّدْهِنُونَ ﴿٨١﴾\eoa
>> \stoptext
>
> Now I could locate the error in ConText better, see this code and the
> mistake, which occurs:
>
> \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
> \define[1]\eoa{#1\char"06DD}
> \starttext
> \setupalign[r2l]
> \arabicuth
>
> إِنَّ ٱلَّذِينَ كَفَرُوا سَوَآءٌ عَلَيْهِمْ ءَأَنذَرْتَهُمْ أَمْ لَمْ تُنذِرْهُمْ لَا يُؤْمِنُونَ ﴿٦﴾\blank
>
> إِنَّ ٱلَّذِينَ كَفَرُوا سَوَآءٌ عَلَيْهِمْ ءَأَنذَرْتَهُمْ أَمْ لَمْ تُنذِرْهُمْ لَا يُؤْمِنُونَ ﴿٦٦﴾
> \stoptext
>
> (I have attached the compiled PDF).
>
> The first aya, with a single one-digit number is not regonized
> correctly, but the second is (with a two-digit-number). Why?
i tried to reproduce your issue but gave up because of the fact that
it's unclear what (version) of the font is used ... you switched from 10
to 09 and in 09 i see no 'big circular thing' so your version is
different from the one i donwload ... so, i cannot even be certain that
the font is okay ... so if you want to test:
- make sure that you use fonts consistently
- make sure we know where to get that version of the font
- make sure that corel draw (or whatever) is using the same font
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 22:33 "H. Özoguz"
2013-11-25 10:33 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 22:33 UTC (permalink / raw)
To: ntg-context
Hi Ondra,
thanks for your help.
> Apparently, replacing a number enclosed in ornate parentheses (U+FD3E
> and U+FD3F) with a number in the "end of ayah" ornament is a specialty
> of the UthmanicHafs font. If I input the digit (e.g. U+0662) and then
> the special non-printable "end of ayah" character (U+06DD), ConTeXt
> and Amiri successfully output the digit inside the ornament.
Hmm, ok. But if it is a speciality of UthmanicHafs, why CorelDraw
understands it natively?
> Of course, since U+06DD is a non-printable character, it might be a
> pain to work with in a text editor; you might want to define a custom
> command for this purpose:
>
> \def\eoa#1{#1\char"06DD}
Thanks, that works fine:
\definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt]
\definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt]
\def\eoa#1{#1\char"06DD}
\starttext
\setupalign[r2l]
\arabicuth لأَفَبِهَـٰذَا ٱلْحَدِيثِ أَنتُم مُّدْهِنُونَ ﴿٨١﴾\eoa
\stoptext
But now another question arises: How to input this command into my
unicode of quran automatically? (I am using notepad++). Not the best way
to do this manually for all 286 Ayas (and then search and replace for
all ayas of all suras).
And still: There must be some tricks in CorelDraw handling fonts, which
would be great to have in ConText :)
Thank you!
Huseyin
PS: Sorry for these annoyong thread-breaking all the time - I really do
not know, what I make wrong here. I am using Thunderbird. If anybody
knows how to use thunderbird for email lists correctly, I would be thankful.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 22:33 "H. Özoguz"
@ 2013-11-25 10:33 ` Hans Hagen
0 siblings, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2013-11-25 10:33 UTC (permalink / raw)
To: ntg-context
On 11/24/2013 11:33 PM, "H. Özoguz" wrote:
> Hi Ondra,
>
> thanks for your help.
>
>> Apparently, replacing a number enclosed in ornate parentheses (U+FD3E
>> and U+FD3F) with a number in the "end of ayah" ornament is a specialty
>> of the UthmanicHafs font. If I input the digit (e.g. U+0662) and then
>> the special non-printable "end of ayah" character (U+06DD), ConTeXt
>> and Amiri successfully output the digit inside the ornament.
>
> Hmm, ok. But if it is a speciality of UthmanicHafs, why CorelDraw
> understands it natively?
because you can never be sure what microsoft or adobe has built in their
machinery to cope with issues or provide as (default) features
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 19:53 "H. Özoguz"
2013-11-24 21:04 ` Khaled Hosny
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 19:53 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 19:53 "H. Özoguz"
@ 2013-11-24 21:04 ` Khaled Hosny
0 siblings, 0 replies; 20+ messages in thread
From: Khaled Hosny @ 2013-11-24 21:04 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 17:52 "H. Özoguz"
2013-11-24 17:56 ` Khaled Hosny
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 17:52 UTC (permalink / raw)
To: ntg-context
> The extend feature stretches the glyphs to get narrow or wide font but it doesn’t embolden it.
>
> The best solution is to get a font with a real bold style, money shouldn’t be a problem because fonts are cheap nowadays.
>
> Wolfgang
Thanks, I hoped the it could really embold ist (like I did it in
CorelDraw).
Of course, money is not the problem at all - I am using it commercially,
so the company should by any arabic font I would suggest. But it is very
hard to find an modern font, which is capable of typsetting Quran, with
full supprt and all special symbols (wich are not a part of standard
modern arabic) - and more hard to find such a find in this style (Uthmanic).
Huseyin
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 17:52 "H. Özoguz"
@ 2013-11-24 17:56 ` Khaled Hosny
0 siblings, 0 replies; 20+ messages in thread
From: Khaled Hosny @ 2013-11-24 17:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Nov 24, 2013 at 06:52:31PM +0100, "H. Özoguz" wrote:
> >The extend feature stretches the glyphs to get narrow or wide font but it doesn’t embolden it.
> >
> >The best solution is to get a font with a real bold style, money shouldn’t be a problem because fonts are cheap nowadays.
> >
> >Wolfgang
>
> Thanks, I hoped the it could really embold ist (like I did it in CorelDraw).
>
> Of course, money is not the problem at all - I am using it commercially, so
> the company should by any arabic font I would suggest. But it is very hard
> to find an modern font, which is capable of typsetting Quran, with full
> supprt and all special symbols (wich are not a part of standard modern
> arabic)
http://amirifont.org/
> - and more hard to find such a find in this style (Uthmanic).
There is no such a style, it is just a simplified (dumbed down) Naskh
style used only in one single Mushaf. Why is that a requirement?
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 17:12 "H. Özoguz"
2013-11-24 17:27 ` Wolfgang Schuster
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 17:12 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1: Type: text/plain, Size: 1621 bytes --]
>
>
> >> May be ConTeXt experts would have better suggestions, till then you
> >> may want to look at the fake bold option in simplefonts -
> >>
http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts
> >
> > Thanks for your advice.
> > Unfortunately I did not manish to work with this font by
simplefonts. I use the following simple setup:
> >
> >
> > \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
>
> \definefontfeature[fakebold][extend=1.1]
>
> \definefont[arabic][file:<fontname>*arabic,fakebold at 15pt]
>
> > \starttext
> > \arabic\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
> > \stoptext
> >
> > How can I get these "fake bolds" with this setup? Or is it
absolutely necessary to use Simplefont for these fake-bolds?
>
> The feature is unrelated to simplefonts.
>
> Wolfgang
Thanks Wolfgang, but that does not seem to work with this font. See
attachment, the font is wider, but not bold.
++++++++++++++++
\definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
\definefont[arabics][file:bliblablup_0.ttf*arabic at 15pt]
\definefontfeature[fakebold][extend=1.2]
\definefont[arabic][file:bliblablup_0.ttf*arabic,fakebold at 15pt]
\starttext
\arabic\setupalign[r2l]
ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
\blank\arabics\setupalign[r2l]
ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
\stoptext
++++++++++++++++
Huseyin
[-- Attachment #2: fake-bold-arabic_context.pdf --]
[-- Type: application/pdf, Size: 16930 bytes --]
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 17:12 "H. Özoguz"
@ 2013-11-24 17:27 ` Wolfgang Schuster
0 siblings, 0 replies; 20+ messages in thread
From: Wolfgang Schuster @ 2013-11-24 17:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 24.11.2013 um 18:12 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:
> >
> >
> > >> May be ConTeXt experts would have better suggestions, till then you
> > >> may want to look at the fake bold option in simplefonts -
> > >> http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts
> > >
> > > Thanks for your advice.
> > > Unfortunately I did not manish to work with this font by simplefonts. I use the following simple setup:
> > >
> > >
> > > \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
> >
> > \definefontfeature[fakebold][extend=1.1]
> >
> > \definefont[arabic][file:<fontname>*arabic,fakebold at 15pt]
> >
> > > \starttext
> > > \arabic\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
> > > \stoptext
> > >
> > > How can I get these "fake bolds" with this setup? Or is it absolutely necessary to use Simplefont for these fake-bolds?
> >
> > The feature is unrelated to simplefonts.
> >
> > Wolfgang
>
> Thanks Wolfgang, but that does not seem to work with this font. See attachment, the font is wider, but not bold.
The extend feature stretches the glyphs to get narrow or wide font but it doesn’t embolden it.
The best solution is to get a font with a real bold style, money shouldn’t be a problem because fonts are cheap nowadays.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 17:03 "H. Özoguz"
2013-11-26 8:45 ` Hans Hagen
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 17:03 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1635 bytes --]
>
> >>/ May be ConTeXt experts would have better suggestions, till then you
> />>/ may want to look at the fake bold option in simplefonts -
> />>/ http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts
> />/
> />/ Thanks for your advice.
> />/ Unfortunately I did not manish to work with this font by simplefonts. I use the following simple setup:
> />/
> />/
> />/ \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
> /
> \definefontfeature[fakebold][extend=1.1]
>
> \definefont[arabic][file:<fontname>*arabic,fakebold at 15pt]
>
> >/ \starttext
> />/ \arabic\setupalign[r2l] ??????? ??? ???????? ?????? ???? ???????? ???????????
> />/ \stoptext
> />/
> />/ How can I get these "fake bolds" with this setup? Or is it absolutely necessary to use Simplefont for these fake-bolds?
> /
> The feature is unrelated to simplefonts.
>
> Wolfgang
Thanks Wolfgang, but that does not seem to work with this font. See
attachment, the font is wider, but not bold. See the difference to the
intended result, achieved with Corel Draw (with the same font), see
attachment.
In ConTeXt I had the following code (see attachment for the compiled pdf):
++++++++++++++++
\definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
\definefont[arabics][file:bliblablup_0.ttf*arabic at 15pt]
\definefontfeature[fakebold][extend=1.2]
\definefont[arabic][file:bliblablup_0.ttf*arabic,fakebold at 15pt]
\starttext
\arabic\setupalign[r2l]
??????? ??? ???????? ?????? ???? ???????? ???????????
\blank\arabics\setupalign[r2l]
??????? ??? ???????? ?????? ???? ???????? ???????????
\stoptext
++++++++++++++++
Huseyin
[-- Attachment #1.2: Type: text/html, Size: 3618 bytes --]
[-- Attachment #2: fake-bold-arabic_coreldraw.pdf --]
[-- Type: application/pdf, Size: 1439218 bytes --]
[-- Attachment #3: fake-bold-arabic_context.pdf --]
[-- Type: application/pdf, Size: 16930 bytes --]
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 17:03 "H. Özoguz"
@ 2013-11-26 8:45 ` Hans Hagen
0 siblings, 0 replies; 20+ messages in thread
From: Hans Hagen @ 2013-11-26 8:45 UTC (permalink / raw)
To: ntg-context
On 11/24/2013 6:03 PM, "H. Özoguz" wrote:
>>
>> >>/ May be ConTeXt experts would have better suggestions, till then you
>> />>/ may want to look at the fake bold option in simplefonts -
>> />>/ http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts
>> />/
>> />/ Thanks for your advice.
>> />/ Unfortunately I did not manish to work with this font by simplefonts. I use the following simple setup:
>> />/
>> />/
>> />/ \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
>> /
>> \definefontfeature[fakebold][extend=1.1]
>>
>> \definefont[arabic][file:<fontname>*arabic,fakebold at 15pt]
>>
>> >/ \starttext
>> />/ \arabic\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
>> />/ \stoptext
>> />/
>> />/ How can I get these "fake bolds" with this setup? Or is it absolutely necessary to use Simplefont for these fake-bolds?
>> /
>> The feature is unrelated to simplefonts.
>>
>> Wolfgang
>
> Thanks Wolfgang, but that does not seem to work with this font. See
> attachment, the font is wider, but not bold. See the difference to the
> intended result, achieved with Corel Draw (with the same font), see
> attachment.
>
> In ConTeXt I had the following code (see attachment for the compiled pdf):
>
> ++++++++++++++++
> \definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
> \definefont[arabics][file:bliblablup_0.ttf*arabic at 15pt]
> \definefontfeature[fakebold][extend=1.2]
> \definefont[arabic][file:bliblablup_0.ttf*arabic,fakebold at 15pt]
>
> \starttext
> \arabic\setupalign[r2l]
> ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
> \blank\arabics\setupalign[r2l]
> ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
> \stoptext
> ++++++++++++++++
it all depends on how they implement it but for a feature rich opentype
font extend will not work out well unless on also scales up the internal
font properties (and i'm not sure if that would work out well with for
instance cursive features)
anyhow, as it's probably uses for a rare cases you can try
\setupbodyfont[dejavu]
\defineeffect [thicker] [alternative=both,rulethickness=0.3pt]
\starttext
test \starteffect[thicker]test\stopeffect
\stoptext
these pseudo slant and bold definition tricks are an inheritance from
pdftex and therefore in luatex ... we'd never introduced them otherwise
as one should use proper bold fonts (or nothing)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
@ 2013-11-24 14:32 "H. Özoguz"
2013-11-24 14:57 ` Wolfgang Schuster
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 14:32 UTC (permalink / raw)
To: ntg-context
> May be ConTeXt experts would have better suggestions, till then you
> may want to look at the fake bold option in simplefonts -
> http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts
Thanks for your advice.
Unfortunately I did not manish to work with this font by simplefonts. I use the following simple setup:
\definefont[arabic][file:bliblablup_0.ttf*arabic at 15pt]
\starttext
\arabic\setupalign[r2l] ٱللَّهُ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلْحَىُّ ٱلْقَيُّومُ
\stoptext
How can I get these "fake bolds" with this setup? Or is it absolutely necessary to use Simplefont for these fake-bolds?
Thanks.
Huseyin
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Converting normal font into bold
@ 2013-11-24 13:01 "H. Özoguz"
2013-11-24 13:28 ` Rajeesh K Nambiar
0 siblings, 1 reply; 20+ messages in thread
From: "H. Özoguz" @ 2013-11-24 13:01 UTC (permalink / raw)
To: ntg-context
Hello together,
I have an arabic font, which is quite perfect, but only a little bit too
thin, so that it seems to "vanish" into the white of the paper.
Unfortunately this font does not come with an bold-variant.
Now I tried to manipulate it with CorelDraw, just converted into curves
and added an contour (verys small 0.13pt, while font was 11pt) - and it
worked! This "aritificial bold-font" works very well, better then I
hoped, no problems - although it is no hand-tundes bold, but only
countour-adding.
Now the question: I obviously cant set the entire book (more than 600
pages) with Corel-Draw, and want too use ConText, of course. So is there
a way to produce this boldness out of this too thin font within ConText,
too?
Thank your very much.
Best regards,
Huseyin
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: Converting normal font into bold
2013-11-24 13:01 "H. Özoguz"
@ 2013-11-24 13:28 ` Rajeesh K Nambiar
0 siblings, 0 replies; 20+ messages in thread
From: Rajeesh K Nambiar @ 2013-11-24 13:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Nov 24, 2013 at 2:01 PM, "H. Özoguz" <h.oezoguz@mmnetz.de> wrote:
>
> Now the question: I obviously cant set the entire book (more than 600 pages)
> with Corel-Draw, and want too use ConText, of course. So is there a way to
> produce this boldness out of this too thin font within ConText, too?
>
May be ConTeXt experts would have better suggestions, till then you
may want to look at the fake bold option in simplefonts -
http://wiki.contextgarden.net/Simplefonts#Faking_italics_and_bold_fonts
--
Cheers,
Rajeesh
http://rajeeshknambiar.wordpress.com
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2013-11-26 8:45 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-24 21:18 Converting normal font into bold "H. Özoguz"
2013-11-24 22:02 ` Ondřej Hošek
2013-11-25 10:40 ` Khaled Hosny
-- strict thread matches above, loose matches on Subject: below --
2013-11-25 11:20 "H. Özoguz"
2013-11-24 23:34 "H. Özoguz"
2013-11-25 10:29 ` Hans Hagen
2013-11-24 22:33 "H. Özoguz"
2013-11-25 10:33 ` Hans Hagen
2013-11-24 19:53 "H. Özoguz"
2013-11-24 21:04 ` Khaled Hosny
2013-11-24 17:52 "H. Özoguz"
2013-11-24 17:56 ` Khaled Hosny
2013-11-24 17:12 "H. Özoguz"
2013-11-24 17:27 ` Wolfgang Schuster
2013-11-24 17:03 "H. Özoguz"
2013-11-26 8:45 ` Hans Hagen
2013-11-24 14:32 "H. Özoguz"
2013-11-24 14:57 ` Wolfgang Schuster
2013-11-24 13:01 "H. Özoguz"
2013-11-24 13:28 ` Rajeesh K Nambiar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).