From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: latest beta: trouble with font loading
Date: Fri, 20 Nov 2009 13:51:17 +0100 [thread overview]
Message-ID: <4B0690C5.6060709@wxs.nl> (raw)
In-Reply-To: <c3f901470911200434g3271ab54qba64fc88a4328c33@mail.gmail.com>
Yanrui Li wrote:
> 2009/11/20 Wolfgang Schuster <schuster.wolfgang@googlemail.com>:
>> Am 20.11.2009 um 11:45 schrieb Thomas A. Schmitz:
>>
>>> Hi Hans, all,
>>>
>>> the two latest betas have trouble loading fonts from my own typescripts. All errors point to the same line in font-syn.lua. I don't have a minimal example yet, but here's a minimal command line that triggers the error on my box:
>>>
>>> mtxrun --script fonts --list --pattern="*gentium*"
>>> ...text/tex/texmf-context/tex/context/base/font-syn.lua:706: bad argument #1 to 'next' (table expected, got nil)
>>>
>>> Any pointers?
>> 1. delete the luatex cache
>> 2. luatools --selfupdate
>> mtxrun --selfupdate
>> 3. luatools --generate
>>
>
> I did so and solved this problem. However I can not use Chinese OTF
> fonts such as 'AdobeSongStd-Light.otf', because luatex need very very
> large memory to load it in the stage of *enhancing* . This is a test
> file:
>
> \definefont[song][name:adobesongstd]
> \starttext
> \song 测试
> \stoptext
>
> The process of compiling stops here:
>
> !load otf : loading:
> /usr/share/fonts/adobe/AdobeSongStd-Light.otf (hash:
> adobesongstd-light)
> !load otf : file size: 16229772
> !load otf : enhancing ...
that's only the first time
-----------------------------------------------------------------
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 : 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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-11-20 12:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-20 10:45 Thomas A. Schmitz
2009-11-20 10:59 ` Taco Hoekwater
2009-11-20 11:00 ` Taco Hoekwater
2009-11-20 12:17 ` Wolfgang Schuster
2009-11-20 12:34 ` Yanrui Li
2009-11-20 12:51 ` Hans Hagen [this message]
2009-11-20 13:03 ` Yanrui Li
2009-11-20 17:49 ` Hans Hagen
2009-11-21 1:28 ` Yanrui Li
2009-11-21 8:29 ` Yanrui Li
2009-11-21 20:45 ` Bernhard Rosensteiner
2009-11-22 1:34 ` Yanrui Li
2009-11-22 11:12 ` Bernhard Rosensteiner
2009-11-20 12:38 ` Thomas A. Schmitz
2009-11-20 12:50 ` Hans Hagen
2009-11-20 13:41 ` Thomas A. Schmitz
2009-11-20 12:38 ` 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=4B0690C5.6060709@wxs.nl \
--to=pragma@wxs.nl \
--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).