ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bold is not working (simplefonts)
@ 2012-01-18 23:27 Jan Heinen
  2012-01-18 23:36 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Heinen @ 2012-01-18 23:27 UTC (permalink / raw)
  To: ntg-context

Hello,

I want to get bold text - without "simplefonts" it is 
working - with "simplefonts" it does not work.
What is wrong and what do I have to do?

My example:

\usemodule[simplefonts]
\setmainfont[Allerlight]
\starttext
This is not bold! {\bf Is this bold?} This is not bold!
\stoptext


Regards
Jannis

___________________________________________________________________________________
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] 2+ messages in thread

* Re: bold is not working (simplefonts)
  2012-01-18 23:27 bold is not working (simplefonts) Jan Heinen
@ 2012-01-18 23:36 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-01-18 23:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 19.01.2012 um 00:27 schrieb Jan Heinen:

> Hello,
> 
> I want to get bold text - without "simplefonts" it is working - with "simplefonts" it does not work.
> What is wrong and what do I have to do?

The module can’t find italic, bold etc. alternatives when don’t match a certain name pattern, in your case for “Aller Light” the normal “Aller” font has to be used for the bold alternative but the module is looking for “Aller Light Bold” which doesn’t exist. To have a bold alternative besides this limitation you can say which font should be used for bold, see below how this can be done.

> My example:
> 
> \usemodule[simplefonts]
> \setmainfont[Allerlight]

\setmainfont[Allerlight][boldfont={Aller},bolditalicfont={Aller Italic}]

Wolfgang

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2012-01-18 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18 23:27 bold is not working (simplefonts) Jan Heinen
2012-01-18 23:36 ` Wolfgang Schuster

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