ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Cc: g.c.eigner@vu.nl
Subject: Re: ConTeXt, XeTeX, special effects in Indic font for Kannada
Date: Thu, 08 Aug 2013 18:51:55 +0200	[thread overview]
Message-ID: <5203CCAB.5000809@wxs.nl> (raw)
In-Reply-To: <5737573C-7C10-4F83-9819-44A43CAB1585@zydenbos.net>

On 8/8/2013 2:26 PM, Robert Zydenbos wrote:

> Is there any way to find out the font's possibilities, if one doesn't have any technical documentation about it?

looking at tables in the font ... in fact, this font is somewhat messed 
up as it uses latin glyph names for kannaga ligatures

concerning indic scripts ... this is an ongoing project:

- kai eigner made the first setup, for devangari only but extending is a 
matter of adding more info

- i cleaned up the code and optimized it (runs reasonable fast now) and 
and probably in the process broke some things

anyhow, I added a few more entries in tables and get different output 
but also the impression that some glyphs get lost) so we're not there yet

\definefontfeature[slanted] [slant=.2]
\definefontfeature[boldened][extend=1.2]

\definefontfeature[kannada][devanagari-one][script=knda]

\starttypescript [serif] [kedage] [name]
     \definefontsynonym[Serif]          [file:kedage-n][features={kannada}]
     \definefontsynonym[SerifBold] 
[file:kedage-n][features={kannada,default,boldened}]
     \definefontsynonym[SerifItalic] 
[file:kedage-n][features={kannada,default,slanted}]
 
\definefontsynonym[SerifBoldItalic][file:kedage-n][features={kannada,default,boldened,slanted}]
\stoptypescript

\starttypescript [kedage]
     \definetypeface[kedage][rm][serif][kedage][default]
     \definetypeface[kedage][mm][math] [modern][default]
\stoptypescript

\setupbodyfont[kedage]

\enabletrackers[otf.analyzing]

\starttext

ಇದು ಕನ್ನಡದಲ್ಲಿದೆ. ಬಹಳ ರೋಚಕವಾದುದು, ಹೀಗೆ ಬರೆಯುವುದು ಎಂದು ಭಾವಿಸುತ್ತೇನೆ.

{\definedfont[file:kedage-n]ಇದು ಕನ್ನಡದಲ್ಲಿದೆ. ಬಹಳ ರೋಚಕವಾದುದು, ಹೀಗೆ ಬರೆಯುವುದು 
ಎಂದು ಭಾವಿಸುತ್ತೇನೆ.}

% ಇದು ಕನ್ನಡದಲ್ಲಿದೆ. ಬಹಳ ರೋಚಕವಾದುದು, ಹೀಗೆ ಬರೆಯುವುದು ಎಂದು ಭಾವಿಸುತ್ತೇನೆ.\par
% {\bf ಈಗ ದಪ್ಪಗೆ}\par
% , ಮತ್ತು\par
% {\it ಕೊಂಕು}\par
% .\par

\stoptext

we can probably best move this discussion off list .. for instance we 
need to figure out what

-- 0C82 anusvara
-- 0C83 visarga
-- 0CBD avagraha
-- 0CD5 length mark
-- 0CD6 ai length mark
-- 0CE0 letter ll
-- 0CE1 letter rr
-- 0CE2 vowel sign l
-- 0CE2 vowel sign ll
-- 0CF1 sign
-- 0CF2 sign
-- OCE6 - OCEF digits

does (maybe some has to be added to some tables).

It's probably no big deal to get some more scripts working given what's 
already there ... more a matter of testing (and no, i can't read those 
scripts).

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	other threads:[~2013-08-08 16:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-08 11:00 Robert Zydenbos
2013-08-08 11:51 ` Hans Hagen
2013-08-08 12:26   ` Robert Zydenbos
2013-08-08 16:51     ` Hans Hagen [this message]
2013-08-08 19:39   ` 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=5203CCAB.5000809@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).