[NTG-context] A new question on \definefallbackfamily
Mikael P. Sundqvist
mickep at gmail.com
Wed Apr 30 13:36:53 CEST 2014
Hi, here is an update:
It seems this does not have to do with the font Frutiger to do.
Compiling the file
%%%
\definefontfamily [lundface] [rm] [TeX Gyre Pagella][opticalsize=yes]
\definefontfamily [lundface] [ss] [TeX Gyre Scholar][opticalsize=yes]
\definefontfamily [lundface] [math] [TeX Gyre Pagella Math][default]
\definebodyfontenvironment[18pt]
\setupbodyfont[lundface,18pt]
\starttext
{3 $3$}
{\bf 3 $3$}
\stoptext
%%%
I get the same behavior. Sometimes, the fourth 3 will become bold.
This happens very randomly (sometimes I have to compile 10 times for
it to happen). I compile with "context test.tex". I can reproduce this
both on my home computer and on my computer at work, both with
late(st) standalone installed.
Best regards, Mikael
On Tue, Apr 29, 2014 at 8:44 PM, Mikael P. Sundqvist <mickep at gmail.com> wrote:
> Hi,
>
> With the file below (and the latest Standalone) I get different output
> different times I compile. Sometimes the fourth 3 is bold and
> sometimes it is not (I don't want it to be bold). What is going on? I
> attach also the log files from a successful run (test.log) and a
> failure (test-error.log). Also, the pdf files are attached.
>
> (what I want is to use the light font as default and the regular one as bold...)
>
> Best regards, Mikael
>
> %%% TEST FILE
>
> \definefontfamily [lundfaces] [rm] [Adobe Garamond Pro][opticalsize=yes]
> \definefontfamily [lundfaces] [ss]
> [FrutigerLTstd][opticalsize=yes,tf=style:light,it=style:lightitalic,sl=style:lightitalic,bf=style:normal,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercaseitalic,tf=style:lightitalic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercasebolditalic,tf=style:italic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercasenormal,tf=style:light,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:lowercasebold,tf=style:normal,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercaseitalic,tf=style:lightitalic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercasebolditalic,tf=style:italic,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercasenormal,tf=style:light,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:uppercasebold,tf=style:normal,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:digitsnormal,tf=style:light,scale=0.92]
> \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
> [preset=math:digitsbold,tf=style:normal,scale=0.92]
>
> \definefontfamily [lundfaces] [math] [TeX Gyre Pagella Math]
>
> \definebodyfontenvironment[18pt]
> \setupbodyfont[lundfaces,ss,18pt]
>
>
> \starttext
>
> {3 $3$}
>
> {\bf 3 $3$}
>
> \stoptext
>
> %%% END TEST FILE
More information about the ntg-context
mailing list