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:38:32 +0100 [thread overview]
Message-ID: <4B068DC8.80108@wxs.nl> (raw)
In-Reply-To: <91E0C406-043B-4058-B5C4-8D19A4433446@uni-bonn.de>
Thomas A. Schmitz wrote:
> 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?
i'll add a safeguard
once you get it working you may also try:
mtxrun --script fonts --list --spec gentium
ok, gentium is a bad example but some fonts report weight, style and
width info (given that we have a sane font)
you can in context now use
\definefont[ThomasFavourite][spec:somename-bold-italic]
\definefont[ThomasFavourite][spec:somename-bold]
\definefont[ThomasFavourite][spec:somename-italic]
\definefont[ThomasFavourite][spec:somename-bold-italic-condensed]
etc. kind of experimental, as everything mkiv (and not to be confused
with the simple fonts alternative)
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 : 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
___________________________________________________________________________________
prev parent reply other threads:[~2009-11-20 12:38 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
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 [this message]
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=4B068DC8.80108@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).