[NTG-context] new beta

Hans Hagen pragma at wxs.nl
Sat Jul 11 01:29:24 CEST 2015


On 7/10/2015 7:13 PM, Pablo Rodriguez wrote:
> On 07/10/2015 05:05 PM, Thomas A. Schmitz wrote:
>> On 07/09/2015 03:39 PM, Hans Hagen wrote:
>>> 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:
>>>
>>> \usemodule[newotf]
>>>
>>> before \starttext (or in cont-loc.mkiv).
>>
>> Hi Hans,
>>
>> did the new font mechanism really make it into the beta you uploaded? I get
>>
>> resolvers       > modules > 'newotf' is not found
>>
>> with
>>
>> version: 2015.07.10 00:05
>
> Hi Hans and Thomas
>
> the module seems to be missing also in beta from 2015.07.09 15:23.
>
> In beta from 2015.07.10 00:05 cont-loc.mkiv seems to be gone.

that one is not in the distribution ... you can create it

cont-new.mkiv : in distribution (patch file)
cont-loc.mkiv : local file (persistent, not replaced)
cont-exp.mkiv : experimental code (on my machine)

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
-----------------------------------------------------------------
-------------- next part --------------
%D \module
%D   [       file=m-newotf,
%D        version=2015.07.08,
%D          title=\CONTEXT\ Extra Modules,
%D       subtitle=Experimental OTF Loader,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D This module will go away as soon as we use the new loader code by default.
%D That will happen after extensive testing. Generic support will happen after
%D that.

\unprotect

\startluacode
    local files = {
        "font-otr", "font-cff", "font-ttf", "font-dsp", "font-oup",
        "font-otl", "font-ots", "font-oto", "font-otd", "font-otc",
        "font-osd", "font-map", "font-fbk", "font-gds",
    }

    logs.report("fonts")
    if tex.modes.atpragma then
        logs.report("fonts","replacing font loader code by experimental code (at pragma)")
        logs.report("fonts")
        for i=1,#files do require(file.join("t:/sources",files[i])) end
    else
        logs.report("fonts","replacing font loader code by experimental code")
        logs.report("fonts")
        for i=1,#files do require(files[i]) end
    end
\stopluacode

\protect \endinput


More information about the ntg-context mailing list