* Adjusting overbar for a special font
@ 2014-04-01 9:37 "H. Özoguz"
2014-04-01 9:47 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: "H. Özoguz" @ 2014-04-01 9:37 UTC (permalink / raw)
To: ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Adjusting overbar for a special font
2014-04-01 9:37 Adjusting overbar for a special font "H. Özoguz"
@ 2014-04-01 9:47 ` Wolfgang Schuster
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2014-04-01 9:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 01.04.2014 um 11:37 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:
> 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.
http://www.ntg.nl/pipermail/ntg-context/2012/070738.html
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] 5+ messages in thread
[parent not found: <mailman.1.1396346401.23273.ntg-context@ntg.nl>]
* Re: Adjusting overbar for a special font
@ 2014-04-01 13:23 "H. Özoguz"
0 siblings, 0 replies; 5+ messages in thread
From: "H. Özoguz" @ 2014-04-01 13:23 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 321 bytes --]
> as 'ex' is bad font that font, you can try 'em' :
>
> \setupbars[overbar][offset=1.2,unit=em,rulethickness=.05]
Thanks Hans, that worked quite well. Not perfect independent from the
size, as you can see in the attached image, but perfect enough for my
case, as the sizes differ not soo much (only 1-2pt).
Huseyin
[-- Attachment #1.2.1: Type: text/html, Size: 962 bytes --]
[-- Attachment #1.2.2: hhhhijbh.png --]
[-- Type: image/png, Size: 55077 bytes --]
[-- Attachment #2: 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] 5+ messages in thread
end of thread, other threads:[~2014-04-01 13:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 9:37 Adjusting overbar for a special font "H. Özoguz"
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"
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).