* faked fonts not working
@ 2013-06-22 14:03 Pablo Rodríguez
2013-06-24 17:58 ` Pablo Rodríguez
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2013-06-22 14:03 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: faked fonts not working
2013-06-22 14:03 faked fonts not working Pablo Rodríguez
@ 2013-06-24 17:58 ` Pablo Rodríguez
2013-06-24 18:09 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodríguez @ 2013-06-24 17:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: faked fonts not working
2013-06-24 17:58 ` Pablo Rodríguez
@ 2013-06-24 18:09 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2013-06-24 18:09 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-06-24 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-22 14:03 faked fonts not working Pablo Rodríguez
2013-06-24 17:58 ` Pablo Rodríguez
2013-06-24 18:09 ` Hans Hagen
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).