ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: The requested font has no files for the 'tf' alternative
Date: Fri, 10 Mar 2017 08:13:59 +0800	[thread overview]
Message-ID: <20170310001359.GB988@smoon.vl-lomov.ru> (raw)
In-Reply-To: <20170309103334.29dcdb6a@homerow>

Hello
** Marco Patzer [2017-03-09 10:33:34 +0100]:

> Hi!
> 
> I run into a problem using some fonts. Latin Modern is used instead
> and ConTeXt displays:
> 
>   selectfont > The requested font 'Caecilia LT Std Roman' has no files for the 'tf' alternative, Latin Modern is used instead.
> 
> Example:
> 
> \definefontfamily
>   [mainface]
>   [rm]
>   [Caecilia LT Std Roman]
>   %% doesn't work, either
>   %% [tf=file:CaeciliaLTStd-Roman.otf]
> 
> \setupbodyfont [mainface]
> 
> \starttext
>   %% \definedfont [name:CaeciliaLTStd-Roman] %% this works
>   \input knuth
> \stoptext
> 
> The font is in the database:
> 
>   mtxrun -script fonts -list -all caecilia
> 
> This happens with other fonts too, not only Caecilia. Some fonts
> work, others don't. Couldn't find anything on the list, so I might
> be doing something wrong here. What's the issue here?
> 
> context: 2017.03.02 22:23
> 
> Marco

Some time ago I faced the same problem: I tried to use one of Microsoft
font but it didn't work, the only thing I saw in log was the same
message. I solved the problem by deleting "font cache"
  luatex-cache/context/HASH/fonts
and generating it again
  mtxrun --script fonts --reload --force
(may be with '--force' option you may not delete the "cache" but it
didn't hurt anyway).

Hope this will help you.

---
WBR, Vladimir Lomov

-- 
This is Jim Rockford.
At the tone leave your name and message; I'll get back to you.\a

This is Maria, Liberty Bail Bonds.  Your client, Todd Lieman, skipped and
his bail is forfeit.  That's the pink slip on your '74 Firebird, I believe.
Sorry, Jim, bring it on over.

This is Marilyn Reed, I wanta talk to you...  Is this a machine?  I don't
talk to machines!  [Click]
		-- "The Rockford Files"
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2017-03-10  0:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09  9:33 Marco Patzer
2017-03-10  0:13 ` Vladimir Lomov [this message]
2017-03-10  8:57   ` Marco Patzer
2017-03-10 16:12 ` Pablo Rodriguez
2017-03-13 20:55   ` Marco Patzer
2017-03-13 21:10     ` Pablo Rodriguez
2017-03-14  8:26       ` Marco Patzer
2017-03-14 20:39 ` Wolfgang Schuster
2017-03-14 22:44   ` Marco Patzer
2017-03-15  7:17     ` Henning Hraban Ramm
2017-03-15  7:27       ` Fonts not found Henning Hraban Ramm
2017-03-16 21:28         ` Henning Hraban Ramm
2017-03-15 11:56     ` The requested font has no files for the 'tf' alternative Marco Patzer
2017-03-15 18:10       ` Pablo Rodriguez
2017-03-15 18:26         ` Wolfgang Schuster
2017-03-15 20:37           ` Marco Patzer

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=20170310001359.GB988@smoon.vl-lomov.ru \
    --to=lomov.vl@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).