From: Hans Hagen <pragma@wxs.nl>
To: Michael Saunders <odradek5@gmail.com>
Cc: ntg-context@ntg.nl, ishamid@colostate.edu
Subject: Re: can Context render complex scripts?
Date: Sun, 13 Jun 2010 21:07:55 +0200 [thread overview]
Message-ID: <4C152C8B.8030404@wxs.nl> (raw)
In-Reply-To: <AANLkTimT7lBCSiQPB9GPE-oDY3_q5snSt3UoaeKgXiji@mail.gmail.com>
On 13-6-2010 6:58, Michael Saunders wrote:
>> next time make a simple example .. you caniidentity features with
>>
>> mtxrun --script font --info --list --file BNBDOT0N.ttf
>>
>> anyhow, only one features is applied. It lookslike some gpos feature is not
>> used.
>>
>> \usemodule[fnt-20]
>>
>> \definefontfeature
>> [indic]
>> [mode=node,analyze=yes,
>> script=beng,language=dflt,
>> % gsub
>> abvs=yes,akhn=yes,blwf=yes,blws=yes,
>> half=yes,nukt=yes,pstf=yes,psts=yes,rphf=yes,
>> % gpos
>> blwm=yes,abvm=yes]
>>
>> \definefontsynonym[dwbangla][file:BNBDOT0N.ttf]
>>
>> \starttext
>>
>> {\definedfont[dwbangla*indic] সত্যজিৎ রায় \par}
>>
>> \showotfcomposition
>> {dwbangla*indic}
>> {0}
>> {সত্যজিৎ রায়}
>>
>> \stoptext
>
>
> I don't understand---are you saying this is supposed to work? Is the
well, i wrote: it looks like some pos feaure is not applied ...
> trick supposed to be using fnt-20 or in being careful not to turn on
> unused features? (To be on the safe side, since I was switching
no, but turning them on makes tracing cumbersome
> between them in testing, I was turning on all the features Microsoft
> calls Indic.) I tried your example and, yes, one shaping looks
> correct, but there was no reordering and now some of the characters
> print out on top of each other (which is incorrect). I tried the same
> routine, using fnt-20 and commenting out unused features, for some
> other fonts:
> What am I missing?
As Khaled mentioned ... are these proper otf fonts or do they rely on
specific features in the microsoft engine?
Most opentype features are quite generic and should work ok but if
something special is needed more info is needed.
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:[~2010-06-13 19:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-11 7:14 Michael Saunders
2010-06-11 7:49 ` Khaled Hosny
2010-06-13 14:59 ` Hans Hagen
2010-06-13 16:58 ` Michael Saunders
2010-06-13 19:07 ` Hans Hagen [this message]
2010-06-13 19:15 ` Khaled Hosny
2010-06-13 19:19 ` Khaled Hosny
2010-06-13 19:28 ` Khaled Hosny
2010-06-13 19:41 ` Hans Hagen
2010-06-13 20:07 ` Idris Samawi Hamid ادريس سماوي حامد
2010-06-14 1:21 ` Michael Saunders
2010-06-14 7:57 ` Hans Hagen
2010-06-13 19:29 ` Michael Saunders
2010-06-13 19:50 ` Khaled Hosny
2010-06-13 20:08 ` Hans Hagen
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=4C152C8B.8030404@wxs.nl \
--to=pragma@wxs.nl \
--cc=ishamid@colostate.edu \
--cc=ntg-context@ntg.nl \
--cc=odradek5@gmail.com \
/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).