Re: [NTG-context] faked fonts not working
On 6/24/2013 7:58 PM, Pablo Rodríguez wrote: On 22/06/13 16:03, Pablo Rodríguez wrote: Dear list, as far as I can remember, this used to work in the past: \setupbodyfontenvironment[default][em=italic] \usemodule[simplefonts] \definefontfeature[fakeitalic][default][slant=.25] \definefontfeature[fakebold][default][extend=2] \definefontfeature[fakebolditalic][default][slant=.25, extend=2] \setmainfont[Larabiefont][italicfont={* Regular}, boldfont={* Regular}, bolditalicfont={* Regular}, italicfeatures=fakeitalic, boldfeatures=fakebold, bolditalicfeatures=fakebolditalic] I have experienced that one fonts work with this and others don’t. Is there no way to force these features on all fonts? \starttext \definefontfeature[fakeitalic][default][slant=.25] \definefontfeature[fakebold][default][extend=1.2] \definefontfeature[fakebolditalic][default][slant=.25, extend=1.2] \definedfont[Serif*fakeitalic]\input tufte \definedfont[Serif*fakebold]\input tufte \definedfont[Serif*fakebolditalic]\input tufte \stoptext you'll notice that there is a (known) bug in luatex (the backend): depending on the order of definitions such a fake can get lost in the middle of a line when first applied Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 ___
Re: [NTG-context] faked fonts not working
On 22/06/13 16:03, Pablo Rodríguez wrote: > Dear list, > > as far as I can remember, this used to work in the past: > > \setupbodyfontenvironment[default][em=italic] > \usemodule[simplefonts] > > \definefontfeature[fakeitalic][default][slant=.25] > \definefontfeature[fakebold][default][extend=2] > \definefontfeature[fakebolditalic][default][slant=.25, extend=2] > \setmainfont[Larabiefont][italicfont={* Regular}, boldfont={* > Regular}, bolditalicfont={* Regular}, italicfeatures=fakeitalic, > boldfeatures=fakebold, bolditalicfeatures=fakebolditalic] I have experienced that one fonts work with this and others don’t. Is there no way to force these features on all fonts? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___
[NTG-context] faked fonts not working
Dear list, as far as I can remember, this used to work in the past: \setupbodyfontenvironment[default][em=italic] \usemodule[simplefonts] \definefontfeature[fakeitalic][default][slant=.25] \definefontfeature[fakebold][default][extend=2] \definefontfeature[fakebolditalic][default][slant=.25, extend=2] \setmainfont[Larabiefont][italicfont={* Regular}, boldfont={* Regular}, bolditalicfont={* Regular}, italicfeatures=fakeitalic, boldfeatures=fakebold, bolditalicfeatures=fakebolditalic] \starttext regular, {\em fake italics (actually slanted)}, {\bf fake bold} and {\bf\em fakebolditalics}. \stoptext Is this a bug, or have I forgotten something? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___