Wolfgang Schuster wrote:
> 2007/12/10, Hans Hagen <[EMAIL PROTECTED]>:
>> Wolfgang Schuster wrote:
>>
>>> Slow is no word for the speed with CJK, I have a document with Adobe
>>> Kozuka Minchi and Gothic and run takes up to 3 to 4 minutes.
>>>
>>> The same document needs with XeTeX about half a minute and using the
>>> same fonts in plain TeX took only a few seconds.
>>>
>>> This is really something LuaTeX need to be faster, but it is always faster
>>> than using the cwTeX in truetype format with pdfTeX ;-)
>> it all depends on what's done with the font ...
>>
>> -- we can only locate a bottleneck when we have the font and a test file
>> -- when you're low on memory, the garbage collector of lua becomes a
>> problem
>> -- dynamic features are faster (less loading)
>>
>> 3-4 minutes ... we use mk.tex as test doc, and that one loads cjk as
>> well as zapfino and arab ... runtime on my machine is 15-20 sec,
>> depending on the console used an din bachmode we go under 15 seconds
>> (140 page document)
>>
>> so, what kind of machine do you run luatex on?
>>
>> Hans
> 
> I run LuaTeX on a songle core pentium M with 1.7 GHz and 512 MB ram,

it helps to have a gig or more

> I made now a smell test file and the problem the speed with this file is not
> so bad, the compile time increases with every \switchtobodyfont in my
> document and not every of them can be replaced.

eventually you can share most instances and load only once (i.e. 
normally only 4 fonts need to be loaded + some math)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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 : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to