> Can you show me a example where simplefonts is so slow.

Sure, here goes.

I should say, most of my documents are 1-5 pages and build time is usually 
under 5 seconds (2nd and higher runs). 

One (relatively) slow use of simplefonts is the Chinese example (1) below. The 
way I pasted it, it runs just under 13 seconds on 2nd and consecutive runs. Not 
using the adobe but eg the ht series is a whee faster.

It's not that I am doing huge amounts of Chinese, but jumping from, say, 3 to 
12 seconds, is considerably slower. I was hoping by creating a typescript I 
could speed things up a bit. Any suggestions welcome.

Standing corrected, the impact using eg. CharisSIL for phonetic/IPA symbols the 
impact is much less: eg. a jump from 2.8 to 4.8 seconds in Example (2) given 
below. The impact of 2 seconds is bearable!

Let me know if you want to see any output or whatever.

cheers, Martin


%Example (1)

\usemodule[simplefonts]

\setmainfont[texgyrepagella]
\setsansfont[texgyreheros]
\setmonofont[texgyrecursor]

\setcjkmainfont[adobesongstd]
\setcjksansfont[adobeheitistd]
\setcjkmonofont[adobefangsongstd]

% ttf fonts htsong, hthei, htkai, htfs from:
% http://ftp.ctex.org/pub/tex/fonts/truetype/ttf/

%\setcjkmainfont[htsong] % serif, regular
%\setcjksansfont[hthei] % sans
%\setcjkmonofont[htsong] % mono

\setscript[hanzi]

\starttext

Where there is a will, there is a way.

我命由我不由天
\blank
{\rm Serif:  兡也包因沘氓侷柵苗孫孫財 text 兡也包因沘氓侷柵苗孫孫財}
%{\ss Sans:  兡也包因沘氓侷柵苗孫孫財 text 兡也包因沘氓侷柵苗孫孫財}
%{\tt Mono:  兡也包因沘氓侷柵苗孫孫財 text 兡也包因沘氓侷柵苗孫孫財}

\stoptext



% Example (2) - Not sure if the IPA symbols post properly...

\usemodule[simplefonts]
\setmainfont[CharisSIL] 

\starttext
besser [ˈbɛsɐ], der [deːɐ] 

d͡ʒ
\stoptext




___________________________________________________________________________________
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