ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Defining and using font weights
@ 2014-11-26  8:25 Andreas Schneider
  0 siblings, 0 replies; only message in thread
From: Andreas Schneider @ 2014-11-26  8:25 UTC (permalink / raw)
  To: ntg-context

Hello,

I'm not able to figure out how I can make use of a font with "custom" 
font weights.
I have a font that comes with "regular", "bold", "half-bold" and "ultra 
bold".

I currently define the font like this:
\definefontfamily[myfont][rm][myfont][sc=file:MyFontRegular,bf=file:MyFontBold]

Which at least makes it possible to use the default font and \bf ...
But simply adding something like hb=... or ult=... doesn't seem to cut 
it.

So how would I define this font to be able to also use the half-bold and 
ultra weights? (preferably with a switch like \bf, \it, etc.)

Best regards,
Andreas
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2014-11-26  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-26  8:25 Defining and using font weights Andreas Schneider

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