On 25-8-2010 12:14, Steffen Wolfrum wrote:

Am 25.08.2010 um 11:37 schrieb Hans Hagen:

On 25-8-2010 11:22, Steffen Wolfrum wrote:

Am 25.08.2010 um 11:17 schrieb Hans Hagen:

On 25-8-2010 10:05, Steffen Wolfrum wrote:

Am 24.08.2010 um 20:37 schrieb Oliver Buerschaper:

Hi all,

Today I started preparations for my activities at the ConTeXt meeting.

There are two small lua tutorials in the program, and I am looking
for input on both. There is one that is supposed to be a general
beginner's introduction, and one specifically about fonts.

For both, I am looking for input on what subjects I should cover?

Since both tutorials will end up as articles/wiki pages, it makes
sense to ask everybody on the list for input (but requests by actual
attendees will be scored considerably higher).

Perhaps some example to modify a font at runtime? I don't know whether that's 
possible at all, but if yes, it would be great to see how one could modify 
kerning tables etc. Often a font needs to be groomed but its license places 
some restrictions on modifying the file itself...


+1

This is somewhat tricky. Actually I had a mechanism for that but I discarded 
the code. However there will be a feature like that some day as it needs a 
rather tight integration in the core of context's font handling. (btw, there is 
a feature for type 1 fonts that adds 'missing' kerns based on shape codes).

Great! How can this feature be triggered?

happens automatically

\usetypescriptfile[type-ghz]

\enabletrackers[afm.features]

\starttext

\definetypeface[main][rm][serif][melior][default]

\setupbodyfont[main]

test

\stoptext

reports (when not cached):

load afm>  add ligatures
load afm>  add tex-ligatures
load afm>  add extra kerns


Where does it report these lines?

I looked at terminal output and compared the log files (no difference 
with/without enabletrackers) in vain.

"when not cached" does mean the first time typesetting, no?

fonts are cached so you will only see this if you erase the font cache

-----------------------------------------------------------------
                                          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