[NTG-context] isn't it too slow?

Hans Hagen pragma at wxs.nl
Tue Dec 6 18:15:39 CET 2011


On 6-12-2011 13:22, Pablo Rodríguez wrote:
> Hi there,
>
> compiling this minimal file:
>
>     \definepapersize[aa][width=2cm,height=1cm]
>     \setuppapersize[aa]
>     \setuppagenumbering[location=]
>     \usemodule[simplefonts][size=12pt]
>     \definesimplefont[amsmile][TeX Gyre Pagella]
>     \starttext
>     \TeX\ \amsmile \TeX
>     \stoptext
>
> using
>
>     This is LuaTeX, Version beta-0.70.1-2011061416 (rev 4277)
>     ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.1 int: english/english
>
> took
>
>     system          | total runtime: 144.057

that can be because you ask for a font by name in which case the font 
name cache is regenerated ... so that happen seldom

> Replacing the TeX Gyre Pagella font with small caps only takes
>
>     system          | total runtime: 6.753

probably a first time caching of the font

> I guess something is wrong here, even if I'm doing something wrong.

successive runs should be fast


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