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: Adjusting overbar for a special font
Date: Tue, 01 Apr 2014 11:37:37 +0200	[thread overview]
Message-ID: <533A88E1.7040202@mmnetz.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

Hello there,

I tried to overbar an arabic word, and noticed, that the bar is too low 
and overlaps the letters. While producing a minexample, I noticed that 
this might be a issue of my font, because this does not happen with 
Arial. See this minexample:

\definefont[arial][name:arial*arabic at 12pt]
\definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 12pt]

\starttext
\startalign[r2l]
\arial
كَلَّا لَا تُطِعْهُ \overbar{وَٱسْجُدْ} وَٱقْتَرِب ۩
\arabicuth
كَلَّا لَا تُطِعْهُ \overbar{وَٱسْجُدْ} وَٱقْتَرِب ۩
\stopalign
\stoptext

and compare the compiled pdf in attachment.

You can download the used font-file "UthmanicHafs1Ver09.ttf" here:

http://fonts.qurancomplex.gov.sa/download/UthmanicHafs1Ver09Font.zip

We have discussed this font here month ago, hans commented: "yes, but 
calling this a normal font is somewhat over-the-top"

So it is quite "special" - but still best available font (free or 
commercial) for typesetting the holy quran.

But setting the bar a bit higher should be easily possible, independent 
of these font-lacks, right? The solution should be independent from the 
chosen font-size.

Thanks!
Huseyin

[-- Attachment #2: overbar.pdf --]
[-- Type: application/download, Size: 29695 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
___________________________________________________________________________________

             reply	other threads:[~2014-04-01  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01  9:37 "H. Özoguz" [this message]
2014-04-01  9:47 ` Wolfgang Schuster
     [not found] <mailman.1.1396346401.23273.ntg-context@ntg.nl>
2014-04-01 10:12 ` "H. Özoguz"
2014-04-01 11:31   ` Hans Hagen
2014-04-01 13:23 "H. Özoguz"

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=533A88E1.7040202@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).