ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: LuaTeX finds font, mtxrun --fonts does not list it?
Date: Tue, 31 May 2016 07:01:34 +0200	[thread overview]
Message-ID: <574D1AAE.3090907@gmail.com> (raw)
In-Reply-To: <8737ozrauw.fsf@ellen.idiomdrottning.org>


[-- Attachment #1.1: Type: text/plain, Size: 1122 bytes --]

> Sandra Snan <mailto:sandra.snan@idiomdrottning.org>
> 30. Mai 2016 um 14:25
> For some reason, it just started working today. After all this time. I
> have no idea what was going on.
> \definefontfamily[jeans][sans][file:futuralt]
> and then referring to to the font family "jeans" later on.
> Looks great, too.
The font declaration is still wrong and it’s more likely you get Latin 
Modern Sans
in your document which is used as fallback when the requested sans serif 
font
wasn’t found.

You can see in the attached document the output from the following example.
Only the first font defintion loads Futura, the third falls back to 
Latin Modern
because there is no font with the name “file:futura”.

\definefontfamily[realfutura][ss][Futura]
\definefontfamily[fakefutura][ss][Latin Modern Sans]
\definefontfamily[filefutura][ss][file:futura]

\starttext

\switchtobodyfont[realfutura]Is this Futura or Latin Modern Sans?

\switchtobodyfont[fakefutura]Is this Futura or Latin Modern Sans?

\switchtobodyfont[filefutura]Is this Futura or Latin Modern Sans?

\stoptext

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 2370 bytes --]

[-- Attachment #2: futura.pdf --]
[-- Type: application/pdf, Size: 11268 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2016-05-31  5:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 20:10 Sandra Snan
2015-05-28  7:28 ` Hans Hagen
2015-05-28  9:37   ` Sandra Snan
2015-05-28 10:38     ` Wolfgang Schuster
2015-05-29  7:39       ` Sandra Snan
2016-05-30 12:25         ` Sandra Snan
2016-05-31  5:01           ` Wolfgang Schuster [this message]

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=574D1AAE.3090907@gmail.com \
    --to=schuster.wolfgang@gmail.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).