ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <context@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Font-loading
Date: Wed, 22 Oct 2014 21:47:02 +0200	[thread overview]
Message-ID: <FC32E084-CFC1-4D7A-9F6A-B21AF1D846F7@boede.nl> (raw)


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

Hi all,

I know that there was earlier a thread dealing with this subject…. However I needed to typeset a title in a typeface with a medieval look. One of the choices is “Maximilian” a ttf font (free font).

I put the font in texmf-fonts/data.

The  mtxrun --script font --list --info --all maximilian gives:

mtx-fonts       | mapping : maximilian
mtx-fonts       | fontname: maximilian
mtx-fonts       | fullname: maximilian
mtx-fonts       | filename: Maximilian.ttf
mtx-fonts       | family  : maximilian
mtx-fonts       | weight  : normal
mtx-fonts       | style   : normal
mtx-fonts       | width   : normal
mtx-fonts       | variant : normal
mtx-fonts       | subfont : 
mtx-fonts       | fweight : conflict: book
mtx-fonts       |
mtx-fonts       | gsub features:
mtx-fonts       |
mtx-fonts       | feature  script   languages
mtx-fonts       |
mtx-fonts       | tlig     all      all     
mtx-fonts       | trep     all      all

I tried in a classical way:

\starttypescript[serif][medieval]
	 \definefontsynonym[serif][file:Maximilian][features=default]
\stoptypescript

\starttypescript[medieval]
	 \definetypeface[Maximilian][rm][serif][medieval][default]
 \stoptypescript

\usetypescript[medieval]

\setupbodyfont[Maximilian,rm,12pt]

I tried also the new approach

 \definefontfamily[Medieval][rm][Maximilian][features=default]
 \setupbodyfont[Medieval,12pt]

In both cases I end up with an empty page, because the font is not fount. — What do I miss?

Kind regards

Willi


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

[-- Attachment #2: 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:[~2014-10-22 19:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 19:47 Willi Egger [this message]
2014-10-23  4:35 ` Font-loading Wolfgang Schuster
2014-10-23 15:13   ` Font-loading Willi Egger

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=FC32E084-CFC1-4D7A-9F6A-B21AF1D846F7@boede.nl \
    --to=context@boede.nl \
    --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).