I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. \usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \definesimplefont[bf][NexusSerif-Bold][size=12pt] \starttext \bf \input knuth \stoptext the names are: rawname="NexusSerif-Bold", rawname="NexusSerif-Regular", [ ... ] Herbert
On Sat, 13 Nov 2010, Herbert Voss wrote:
I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style.
I don't know how to do this in simplefonts, but ...
\usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \definesimplefont[bf][NexusSerif-Bold][size=12pt]
... this certainly is not the right way. For example, with this \bf\it will not give you bold italic. Aditya
Am 13.11.2010 19:32, schrieb Aditya Mahajan:
On Sat, 13 Nov 2010, Herbert Voss wrote:
I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style.
I don't know how to do this in simplefonts, but ...
\usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \definesimplefont[bf][NexusSerif-Bold][size=12pt]
... this certainly is not the right way. For example, with this \bf\it will not give you bold italic.
I know, but this is not my problem, I want to know, why I do _not_ get a bold without such a definition. I thought that simplefonts will do the job ... \usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \starttext \rm\bf is not in bold! Why? \stoptext Herbert
On Sat, Nov 13, 2010 at 07:37:52PM +0100, Herbert Voss wrote:
Am 13.11.2010 19:32, schrieb Aditya Mahajan:
On Sat, 13 Nov 2010, Herbert Voss wrote:
I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style.
I don't know how to do this in simplefonts, but ...
\usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \definesimplefont[bf][NexusSerif-Bold][size=12pt]
... this certainly is not the right way. For example, with this \bf\it will not give you bold italic.
I know, but this is not my problem, I want to know, why I do _not_ get a bold without such a definition. I thought that simplefonts will do the job ...
\usemodule[simplefonts] \setmainfont[NexusSerif-Regular]
May be you should say \setmainfont[NexusSerif] without the Regular part (which might be causing context to look for NexusSerif-Regular-Bold which would not, normally, exist). Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
Am 13.11.2010 19:44, schrieb Wolfgang Schuster:
Am 13.11.2010 um 19:25 schrieb Herbert Voss:
I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style.
\usemodule[simplefonts] \setmainfont[NexusSerif-Regular]
\setmainfont[Nexus Serif]
thanks, also to Khaled, both worked \setmainfont[Nexus Serif] and \setmainfont[NexusSerif] Herbert
participants (4)
-
Aditya Mahajan
-
Herbert Voss
-
Khaled Hosny
-
Wolfgang Schuster