From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Font-loading
Date: Thu, 23 Oct 2014 06:35:08 +0200 [thread overview]
Message-ID: <E92079C5-E414-4F2A-9816-9C2331C93029@gmail.com> (raw)
In-Reply-To: <FC32E084-CFC1-4D7A-9F6A-B21AF1D846F7@boede.nl>
[-- Attachment #1.1: Type: text/plain, Size: 1757 bytes --]
> Am 22.10.2014 um 21:47 schrieb Willi Egger <context@boede.nl>:
>
> 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?
Change the name of the typeface to “medieval”.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 6471 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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-10-23 4:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 19:47 Font-loading Willi Egger
2014-10-23 4:35 ` Wolfgang Schuster [this message]
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=E92079C5-E414-4F2A-9816-9C2331C93029@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).