From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl, g.c.eigner@vu.nl
Subject: Re: devanagari rendering (2 errors)
Date: Tue, 10 Sep 2013 14:04:09 +0200 [thread overview]
Message-ID: <522F0AB9.5090301@wxs.nl> (raw)
In-Reply-To: <7FE3820F-56A9-4628-9447-E2C1DE305C72@gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2013-09-10 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-09 20:05 Peter Graif
2013-09-09 22:22 ` Hans Hagen
2013-09-10 4:43 ` Peter Graif
2013-09-10 12:04 ` Hans Hagen [this message]
2013-09-10 15:44 ` Peter Graif
2013-09-10 16:42 ` 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=522F0AB9.5090301@wxs.nl \
--to=pragma@wxs.nl \
--cc=g.c.eigner@vu.nl \
--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).