On 9/10/2013 6:43 AM, Peter Graif wrote:


Can you make a as-small-as-possible test file?

Preferable with proper utf-8 sequences (+ comment mentioning numbers/classes), 
good and wrong.

I can probably figure it out but I cannot read or input easily this kind of 
scripts.

Hans


Sure thing. I don't understand how opentype features are represented nor how 
the ligature logic is dividd up between the font and the engine, so I'm not 
quite sure what information is helpful or relevant. But, here's a minimal 
document that contains all the problem sequences I've identified.

As a rough guide, here's another image with the current ConTeXt rendering in 
black and the desired rendering in red:
http://i.imgur.com/MyvMneg.png

Is that the information you need? Or is there something else I can do?

it's ok

it took me quite a while to notice that it's a side effect of two features that are turned on

you can play with

\definefontfeature
  [devanagari-one]
  [devanagari-one]
  [rphf=no]

and

\definefontfeature
  [devanagari-one]
  [devanagari-one]
  [half=no]

maybe Kai can have a look at it: as these are dealt with in a different we probably don't need to enable them in the feature processor (even block them)

btw, you can play with

\showotfcomposition{file:chandas.ttf*devanagari-one}{l2r}{\char"0915 \char"094D \char"0930}

to see what happens

(i also noticed a few possible further optimizations but that's for later)

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
___________________________________________________________________________________

Reply via email to