From: Rik Kabel <context@rik.users.panix.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Error with Libertinus Semibold and new standalone beta
Date: Sat, 15 Jul 2017 19:43:24 -0400 [thread overview]
Message-ID: <134e3293-0fae-2f2f-a412-98bb5ab915d1@rik.users.panix.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2662 bytes --]
With the example below and the latest beta (2017.07.14 19:35), I get the
following error whenever a bold face is requested:
lua error > lua error on line 44 in file
C:/Users/rik/Desktop/test/prod_quotation.tex:
...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:5336:
attempt to index local 'one' (a boolean value)
The typescript in the example is based on the delivered typescript with
the replacement of bold fonts by semibold. This has worked in the past
with no problems.
(Is there a way to accomplish this without replicating the whole of the
typescript?)
\starttypescript [serif] [libertinus]
\setups[font:fallback:serif]
\definefontsynonym [LibertinusSerif-Regular]
[file:libertinusserif-regular]
\definefontsynonym [LibertinusSerif-Italic]
[file:libertinusserif-italic]
\definefontsynonym [LibertinusSerif-Slanted]
[file:libertinusserif-italic]
% \definefontsynonym [LibertinusSerif-Bold]
% [file:libertinusserif-bold]
% \definefontsynonym [LibertinusSerif-BoldItalic]
% [file:libertinusserif-bolditalic]
% \definefontsynonym [LibertinusSerif-BoldSlanted]
% [file:libertinusserif-bolditalic]
\definefontsynonym [LibertinusSerif-Bold]
[file:libertinusserif-semibold]
\definefontsynonym [LibertinusSerif-BoldItalic]
[file:libertinusserif-semibolditalic]
\definefontsynonym [LibertinusSerif-BoldSlanted]
[file:libertinusserif-semibolditalic]
\stoptypescript
\starttypescript [serif] [libertinus] [name]
\setups[font:fallback:serif]
\definefontsynonym [Serif]
[LibertinusSerif-Regular]
[features=default]
\definefontsynonym [SerifItalic]
[LibertinusSerif-Italic]
[features=default]
\definefontsynonym [SerifSlanted]
[LibertinusSerif-Slanted]
[features=default]
\definefontsynonym [SerifBold]
[LibertinusSerif-Bold]
[features=default]
\definefontsynonym [SerifBoldItalic]
[LibertinusSerif-BoldItalic]
[features=default]
\definefontsynonym [SerifBoldSlanted]
[LibertinusSerif-BoldSlanted]
[features=default]
\definefontsynonym [SerifCaps]
[LibertinusSerif-Regular]
[features=smallcaps]
\stoptypescript
\definetypeface[mainface][rm][serif][libertinus][default]
\setupbodyfont [mainface]
\starttext
Text
\bf bold text
\stoptext
--
Rik
[-- Attachment #1.2: Type: text/html, Size: 4578 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2017-07-15 23:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-15 23:43 Rik Kabel [this message]
2017-07-16 10:15 ` Hans Hagen
2017-07-17 1:05 ` Rik Kabel
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=134e3293-0fae-2f2f-a412-98bb5ab915d1@rik.users.panix.com \
--to=context@rik.users.panix.com \
--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).