ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: SimpleFonts: no italic and bold
Date: Mon, 17 Oct 2011 14:00:38 +0200	[thread overview]
Message-ID: <9713DA82-E03A-4F9D-9110-1C68772A1D75@googlemail.com> (raw)
In-Reply-To: <4E9C13B5.4020509@gmx.de>


Am 17.10.2011 um 13:38 schrieb Andreas Schneider:

> Hi,
> 
> I'm currently trying to use our corporate identity font face for internal documents, however neither bold nor italic seem to work.
> 
> I try to load it with:
> \usemodule[simplefonts]
> \setmainfont[telegrotesk]
> 
> The fonts reported by mtxrun --script font --list --all contains:
> telegroteskfet         telegroteskfett   c:/windows/fonts/t036016t_v21.ttf
> telegroteskfetnormal   telegroteskfett   c:/windows/fonts/t036016t_v21.ttf
> telegroteskfett        telegroteskfett   c:/windows/fonts/t036016t_v21.ttf
> telegroteskhal         telegroteskhalb   c:/windows/fonts/t036014t_v21.ttf
> telegroteskhalb        telegroteskhalb   c:/windows/fonts/t036014t_v21.ttf
> telegroteskhalnormal   telegroteskhalb   c:/windows/fonts/t036014t_v21.ttf
> telegrotesknor         telegrotesknorm   c:/windows/fonts/t036013t_v21.ttf
> telegrotesknorm        telegrotesknorm   c:/windows/fonts/t036013t_v21.ttf
> telegrotesknornormal   telegrotesknorm   c:/windows/fonts/t036013t_v21.ttf

Important for simplefonts are the entries in the first colums, you can use

  \setmainfont[telegrotesk][regularfont=* nor,boldfont=* fett]

to enable the font.

> The --info output for normal ...
> mtx-fonts       | family  : telegrotesknor
> 
> ... and bold:
> mtx-fonts       | family  : telegroteskfet
> 
> What would be the preferred way to setup the font in this scenario?

As you can see from this two entries the fonts internal names are a mess,
both should be “family: telegrotesk” for a proper names font but this isn’t
the case here and the reason why automatic detection fails.

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
___________________________________________________________________________________


  reply	other threads:[~2011-10-17 12:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17 11:38 Andreas Schneider
2011-10-17 12:00 ` Wolfgang Schuster [this message]
2011-10-17 12:36   ` Andreas Schneider
2011-10-17 12:46     ` Wolfgang Schuster
2011-10-17 13:03       ` Andreas Schneider
2011-10-17 14:49         ` Wolfgang Schuster
2011-10-18  6:41           ` Andreas Schneider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9713DA82-E03A-4F9D-9110-1C68772A1D75@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).