ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Re: Converting normal font into bold
Date: Sun, 24 Nov 2013 23:33:20 +0100	[thread overview]
Message-ID: <52927EB0.4030800@mmnetz.de> (raw)

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
___________________________________________________________________________________

             reply	other threads:[~2013-11-24 22:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-24 22:33 "H. Özoguz" [this message]
2013-11-25 10:33 ` Hans Hagen
  -- 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 21:18 "H. Özoguz"
2013-11-24 22:02 ` Ondřej Hošek
2013-11-25 10:40 ` Khaled Hosny
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52927EB0.4030800@mmnetz.de \
    --to=h.oezoguz@mmnetz.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).