ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Error with Libertinus Semibold and new standalone beta
@ 2017-07-15 23:43 Rik Kabel
  2017-07-16 10:15 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2017-07-15 23:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-17  1:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-15 23:43 Error with Libertinus Semibold and new standalone beta Rik Kabel
2017-07-16 10:15 ` Hans Hagen
2017-07-17  1:05   ` Rik Kabel

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).