Re: [NTG-context] Arabic typesetting, one more

2013-05-12 Thread Khaled Hosny
On Sat, May 11, 2013 at 03:22:27PM -0600, Idris Samawi Hamid ادريس   سماوي حامد 
wrote:
 Salaam, Huseyin,
 
 I missed this and other threads, it's been busy here...
 
 On Tue, 07 May 2013 23:35:25 -0600, H. Özoguz h.oezo...@mmnetz.de wrote:
 
 But with traditionalarabic it is worse than with arabtype. What
 could be a way to fix this?
 
 Traditional Arabic is a uniscribe-compliant font, but not a fully
 opentype font. Uniscribe also supports older, pre-unicode protocols.
 In other words, TraditionalArabic is platform-dependent. So unless
 M$ has updated it in a recent OS, it will not work in ConTeXt MkIV.

It did (all its fonts actually), it now uses GPOS for mark placement.

 Since XeTeX uses the local libraries, then mkii/xetex on windows
 might work.

XeTeX does not use any system libraries for its OpenType layout, in the
past is was using ICU LayoutEngine and now it is using HarfBuzz, in all
platforms (i.e. a third party library, but not a system one). However,
HarfBuzz has heuristics to place marks based on glyph bounding boxes in
the case of GPOS absence (a bit similar to TeX's \accent but knows which
marks goes above or below or off the center).

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
___

Re: [NTG-context] Arabic typesetting, one more

2013-05-11 Thread Idris Samawi Hamid ادريس سماوي حامد

Salaam, Huseyin,

I missed this and other threads, it's been busy here...

On Tue, 07 May 2013 23:35:25 -0600, H. Özoguz h.oezo...@mmnetz.de wrote:

But with traditionalarabic it is worse than with arabtype. What could be  
a way to fix this?


Traditional Arabic is a uniscribe-compliant font, but not a fully opentype  
font. Uniscribe also supports older, pre-unicode protocols. In other  
words, TraditionalArabic is platform-dependent. So unless M$ has updated  
it in a recent OS, it will not work in ConTeXt MkIV. Since XeTeX uses the  
local libraries, then mkii/xetex on windows might work.


Best wishes
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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
___

Re: [NTG-context] Arabic typesetting, one more

2013-05-08 Thread Hans Hagen

On 5/8/2013 7:35 AM, H. Özoguz wrote:

\usemodule[fnt-20,art-01]

\starttext

\def\sample{اللهِ\quad اللَّـهِ}

\setvariables
[otftracker]
[font=name:traditionalarabicnormal,
 size=24pt,
 features=arabic,
 direction=-1,
 title=Feature Check,
 sample=\sample]

\page

\setvariables
[otftracker]
[font=arabtype,
 size=24pt,
 features=arabic,
 direction=-1,
 title=Feature Check,
 sample=\sample]

\stoptext


Yes, again, kassra is set too low, in both fonts. But with
traditionalarabic it is worse than with arabtype. What could be a way to
fix this?


fix the font

-
  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
___

Re: [NTG-context] Arabic typesetting, one more

2013-05-07 Thread H. Özoguz
If this behavior of context setting the kassra (slash) too low, do 
anyone knows a font, where this not happens with the symbol allah and 
kassra in context? I thought in this mailer were some arabic typers... ?


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
___


Re: [NTG-context] Arabic typesetting, one more

2013-05-07 Thread H. Özoguz

mistyping in last one, corrected:

If this behavior of context setting the kassra (slash) too low is not easily 
understandable or fixable, do
anyone knows a font, where this not happens with the symbol allah and
kassra in context? I thought in this mailer were some arabic typers... ?

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
___


Re: [NTG-context] Arabic typesetting, one more

2013-05-07 Thread Hans Hagen

On 5/7/2013 1:32 PM, H. Özoguz wrote:

mistyping in last one, corrected:

If this behavior of context setting the kassra (slash) too low is not
easily understandable or fixable, do
anyone knows a font, where this not happens with the symbol allah and
kassra in context? I thought in this mailer were some arabic typers... ?


i only followed this topic on a distance so first we need an example 
that clearly shows a problem


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
___


Re: [NTG-context] Arabic typesetting, one more

2013-05-07 Thread H. Özoguz

i only followed this topic on a distance so first we need an example
that clearly shows a problem
I described an example here: 
http://www.ntg.nl/pipermail/ntg-context/2013/073025.html


as a code, and with a pdf in attachment. Maybe it is not clear what I 
mean?: The slash is set too low, and this only in ConTeXt. Is the 
example good enough?



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
___


Re: [NTG-context] Arabic typesetting, one more

2013-05-07 Thread Hans Hagen

On 5/7/2013 8:10 PM, H. Özoguz wrote:

i only followed this topic on a distance so first we need an example
that clearly shows a problem

I described an example here:
http://www.ntg.nl/pipermail/ntg-context/2013/073025.html

as a code, and with a pdf in attachment. Maybe it is not clear what I
mean?: The slash is set too low, and this only in ConTeXt. Is the
example good enough?


my guess is that the bottom mark is not dealt with in the font (as 
arabtype also has it too low i.e. there is no mark applied) .. is this 
valid arabic input?


\usemodule[fnt-20,art-01]

\starttext

\def\sample{اللهِ\quad اللَّـهِ}

\setvariables
  [otftracker]
  [font=name:traditionalarabicnormal,
   size=24pt,
   features=arabic,
   direction=-1,
   title=Feature Check,
   sample=\sample]

\page

\setvariables
  [otftracker]
  [font=arabtype,
   size=24pt,
   features=arabic,
   direction=-1,
   title=Feature Check,
   sample=\sample]

\stoptext

-
  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
___

Re: [NTG-context] Arabic typesetting, one more

2013-05-07 Thread H. Özoguz

\usemodule[fnt-20,art-01]

\starttext

\def\sample{اللهِ\quad اللَّـهِ}

\setvariables
[otftracker]
[font=name:traditionalarabicnormal,
 size=24pt,
 features=arabic,
 direction=-1,
 title=Feature Check,
 sample=\sample]

\page

\setvariables
[otftracker]
[font=arabtype,
 size=24pt,
 features=arabic,
 direction=-1,
 title=Feature Check,
 sample=\sample]

\stoptext


Yes, again, kassra is set too low, in both fonts. But with 
traditionalarabic it is worse than with arabtype. What could be a way to 
fix this?


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
___

Re: [NTG-context] Arabic typesetting, one more

2013-05-05 Thread H. Özoguz
Any ideas, where this bug comes from? Seems weird, that it affects only 
one sinlg lettercombination, in other programms this do not occur.


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
___