ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definefontfamily use
@ 2019-01-22 17:42 Alan Braslau
  2019-01-22 18:39 ` Hans Hagen
  2019-01-23 17:05 ` definefontfamily use Wolfgang Schuster
  0 siblings, 2 replies; 10+ messages in thread
From: Alan Braslau @ 2019-01-22 17:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

Previously, in order to make punctual use of a true-type font in a title for example, I did the following:

\definefontfamily [myfont] [serif] [myfont]

where myfont.ttf is located in the current project directory, and selecting the font was simply
 
{\switchtobodyfont[myfont]My Font!}



Using the present context, this yields the error

selectfont      > The requested font 'myfont' has no files for the 'tf' alternative, Latin Modern is used instead.

What has changed and what should be the proper use?
(I have tried setting explicitly [tf=file:myfont.ttf], which was only a guess.)

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-01-23 17:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-22 17:42 definefontfamily use Alan Braslau
2019-01-22 18:39 ` Hans Hagen
2019-01-22 18:57   ` Alan Braslau
2019-01-23 16:32     ` definefont (was: definefontfamily use) Henning Hraban Ramm
2019-01-23 16:37       ` definefont Wolfgang Schuster
2019-01-23 16:49       ` definefont (was: definefontfamily use) Alan Braslau
2019-01-23 17:03         ` definefont Wolfgang Schuster
2019-01-23 17:17           ` definefont Alan Braslau
2019-01-23 17:05 ` definefontfamily use Wolfgang Schuster
2019-01-23 17:22   ` Alan Braslau

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