From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: 'kern': TrueType table and GPOS lookup feature
Date: Fri, 30 Nov 2012 23:02:52 +0100 [thread overview]
Message-ID: <50B92D0C.80703@wxs.nl> (raw)
In-Reply-To: <CAEmWKkTZxAFO_+RrnUyA3tk+XzgivYzY1553QezW11LJWdAF8A@mail.gmail.com>
On 11/30/2012 10:25 PM, Steve White wrote:
> Luigi,
>
> OK, I get it. (I have wasted a couple of hours, it seems.)
>
> I'll do as you first recommeded.
When you have a working context, you can also try the update process:
just run the first-setup script again and it will sync. Normally the
minimals are synced every 30 minutes (or nowadays maybe 15). Keep in
mind that these days Mojca is moving the whole setup to a new server.
I've uploaded a beta that supports this:
\starttext
\enabletrackers[visualizers.fontkern]
\setupscripts[features=auto]
\definedfont[freeserif*default]
\language[en]Whereas recognition of the inherent dignity and of the
equal and inalienable
rights of all members of the human family is the foundation of freedom,
justice
and peace in the world.
\language[gr]Επειδή η αναγνώριση της αξιοπρέπειας, που είναι σύμφυτη σε
όλα τα μέλη της ανθρώπινης
οικογένειας, καθώς και των ίσων και αναπαλλοτρίωτων δικαιωμάτων τους
αποτελεί
το θεμέλιο της ελευθερίας, της δικαιοσύνης και της ειρήνης στον κόσμο.
\language[en]Whereas disregard and contempt for human rights have
resulted in barbarous acts
which have outraged the conscience of mankind, and the advent of a world
in which
human beings shall enjoy freedom of speech and belief and freedom from
fear and
want has been proclaimed as the highest aspiration of the common people.
\language[gr]Επειδή η παραγνώριση και η περιφρόνηση των δικαιωμάτων του
ανθρώπου οδήγησαν σε
πράξεις βαρβαρότητας, που εξεγείρουν την ανθρώπινη συνείδηση, και η
προοπτική ενός
κόσμου όπου οι άνθρωποι θα είναι ελεύθεροι να μιλούν και να πιστεύουν,
λυτρωμένοι από
τον τρόμο και την αθλιότητα, έχει διακηρυχθεί ως η πιο υψηλή επιδίωξη
του ανθρώπου.
\stoptext
Here
\enabletrackers[visualizers.fontkern]
is actually the official way to trigger the kern tracker (we keep some
\commands around for old times sake) as it's part of more visual
debugging features.
\setupscripts[features=auto]
This one is new and will do an analysis pass and set triggers for the so
called dynamic feature handler (already present, so it was not that much
work). One has to explicitly enable this trick and one can never depend
on such things. Contrary to other tricks it does not obey grouping
(could be done but adds overhead.)
\definedfont[freeserif*default]
This triggers the font. One can comment the \setupscripts line to see
kerns go away.
I only defined latn and grek:
\definefontfeature[latn][script=latn]
\definefontfeature[grek][script=grek]
so it uses the regular feature definition mechanism. If this is
considered useful we can add more and also think about a namespace (i.e.
several predefined setups). In that case I will add the code that obeys
grouping. But in order to do that we need tests and that's up to users.
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:[~2012-11-30 22:02 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 7:06 Pablo Rodríguez
2012-11-30 9:13 ` Hans Hagen
2012-11-30 9:58 ` Steve White
2012-11-30 10:18 ` luigi scarso
2012-11-30 11:40 ` Steve White
2012-11-30 12:24 ` luigi scarso
2012-11-30 14:25 ` Steve White
2012-11-30 15:30 ` luigi scarso
2012-11-30 15:38 ` Hans Hagen
2012-11-30 18:12 ` Steve White
2012-11-30 18:22 ` Hans Hagen
2012-11-30 19:37 ` luigi scarso
2012-11-30 21:25 ` Steve White
2012-11-30 22:02 ` Hans Hagen [this message]
2012-11-30 23:57 ` Pablo Rodríguez
2012-12-01 16:22 ` Steve White
2012-12-01 19:22 ` luigi scarso
2012-12-01 19:38 ` Aditya Mahajan
2012-12-01 19:46 ` luigi scarso
2012-12-01 19:58 ` Aditya Mahajan
2012-12-01 21:09 ` luigi scarso
2012-12-02 9:58 ` Steve White
2012-12-02 13:12 ` Khaled Hosny
2012-12-02 14:32 ` Steve White
2012-12-02 14:49 ` Khaled Hosny
2012-12-02 10:10 ` Steve White
2012-12-02 10:24 ` luigi scarso
2012-12-02 10:43 ` Wolfgang Schuster
2012-12-02 11:08 ` Steve White
2012-12-02 11:48 ` luigi scarso
2012-11-30 15:43 ` Hans Hagen
2012-11-30 14:13 ` Khaled Hosny
2012-11-30 15:41 ` Hans Hagen
2012-11-30 16:05 ` Hans Hagen
2012-11-30 16:39 ` Bill Meahan
2012-11-30 18:08 ` Steve White
2012-11-30 19:07 ` Bill Meahan
2012-11-30 21:24 ` Steve White
2012-11-30 18:34 ` Steve White
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=50B92D0C.80703@wxs.nl \
--to=pragma@wxs.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).