ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: LuajitTeX fails to load font
Date: Sat, 24 Aug 2013 02:25:05 +0200	[thread overview]
Message-ID: <20130824002505.GN18239@homerow> (raw)
In-Reply-To: <5217F63D.3080507@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1017 bytes --]

On 2013–08–24 Hans Hagen wrote:

> Hard to say what is the issue but it is not a luajittex issue. We
> don't do anything special, for instance jit is turned off because
> there is no gain at all (actually with jit enabled, the run is
> slower).

I can confirm that. I did not find a real-world document which
compiled faster with jit. Using the virtual machine provides between
8% and 25% speed gain here.

> There is however one difference and that is the compiled lua code:
> lua and luajit have incompatible formats (apart from the fact that
> luatex is 5.2 and luajittex is 5.1++). Normally compilation happens
> automatically i.e. when a font is loaded by luatex, context will
> generate the relevant compiled file when luajittex is used.
> 
> One possibility is that there is some mismatch in version numbers
> that gets unnoticed.

Let me know if I can provide any additional info.

> In such case, as Aditya suggests, wiping the cache is an option.

That helped, indeed.

Marco

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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	other threads:[~2013-08-24  0:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 21:14 Marco Patzer
2013-08-23 21:55 ` luigi scarso
2013-08-23 22:15 ` Aditya Mahajan
2013-08-23 23:54 ` Hans Hagen
2013-08-24  0:25   ` Marco Patzer [this message]
2013-08-24  0:44     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130824002505.GN18239@homerow \
    --to=lists@homerow.info \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).