[NTG-context] new beta

Hans Hagen pragma at wxs.nl
Thu Jul 9 15:39:14 CEST 2015


I uploaded a new beta. As a prelude to some updates / improvements in 
the font handling an experimental new otf fontloader/handler is present. 
This one is not used by default but will likely replace the current one 
(only when it has been tested enough). At that time also some other 
pending changes will happen (no functional differences, only improvements).

There are a few advantages to the new approach:

- Indentifying fonts goes a bit faster (some 20 times) but that is 
already in the core.
- The mem footprint of initial loading a font is smaller.
- Initial loading can a bit slower depending on the kind of font (no big 
deal as we cache files) and if really needed can be sped up a bit.
- The cached instance is smaller.
- Loading the cached font is faster (not that it was slow but still).
- Some bits and pieces have been optimized (there is room for more but
I might decide not to do that).
- Extra substitution features like tlig and trep are now runtime and not 
- Processing in node mode can be somewhat faster for complex fonts.
- The generic font code will stay as it is for at least a while after 
the new code has become stable and the current method will stay around too.

Of course there will be bugs although the test suite runs without 
crashing. I will use the new code on my machine but you can test it with:


before \starttext (or in cont-loc.mkiv).


                                           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

More information about the ntg-context mailing list