ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Joshua Krämer" <joshua.kraemer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: ntg-context-wvrSQK3plZs@public.gmane.org
Subject: Re: the new simplefonts stuff
Date: Wed, 3 Sep 2014 21:40:12 +0200	[thread overview]
Message-ID: <20140903214012.05e5de2d@medea1.site> (raw)
In-Reply-To: <87wq9nb123.fsf@ellen.idiomdrottning.org>

On 2014-09-01, 21:20, Sandra Snan wrote:

> This is probably a pretty basic question, but how do I find out the
> name of the font that \definefontfamily expects in the third argument?

Hi Sandra,

the only reliable method I have found is to inspect the font with
FontForge.

Here is an example: the Swiss 721 font from Bitstream (Helvetica
digitization).

FontForge reports:

Font name:    Swiss721BT-Roman
Family name:  Swis721 BT
Display name: Swiss 721 BT
Weight:       Book

"mtxrun --script fonts --list --all --pattern=swiss" result:

swiss721bt                  swiss721btroman             Swiss721.ttf
swiss721btroman             swiss721btroman             Swiss721.ttf

The only name which works in ConTeXt is the family name (which can be
seen in FontForge): "Swis721 BT", note the single "s".  However, this
name is *not* shown in the mtxrun output.

Interestingly, I have also seen mtxrun show the family name (different
from the font name) for other fonts, so I really do not know how it
makes up its output.  It is certainly not useful to find out the
name that is to be used in ConTeXt.

Kind regards,
Joshua


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context-wvrSQK3plZs@public.gmane.org / 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
___________________________________________________________________________________


  parent reply	other threads:[~2014-09-03 19:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 19:20 Sandra Snan
2014-09-02 14:16 ` Pablo Rodriguez
2014-09-03 19:40 ` Joshua Krämer [this message]
2014-09-03 22:21   ` Wolfgang Schuster
2014-09-03 20:51 ` Wolfgang Schuster
     [not found] <87wq9jrh44.fsf@ellen.idiomdrottning.org>
2014-09-04 15:53 ` Mica Semrick
2014-09-05  6:22   ` Sandra Snan
     [not found] ` <5D145AD1-28A8-491E-8601-DE1369F3E663@gmail.com>
2014-09-05  6:20   ` Sandra Snan
2014-09-05 10:19   ` Keith McKay

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=20140903214012.05e5de2d@medea1.site \
    --to=joshua.kraemer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=ntg-context-wvrSQK3plZs@public.gmane.org \
    /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).