From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89046 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Font-loading Date: Thu, 23 Oct 2014 17:13:24 +0200 Message-ID: <614E9D0A-D730-41ED-81CA-8755A05E1AED@boede.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: multipart/mixed; boundary="===============1842071872==" X-Trace: ger.gmane.org 1414077263 20966 80.91.229.3 (23 Oct 2014 15:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2014 15:14:23 +0000 (UTC) To: NTG-Context ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 23 17:14:18 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XhK5i-0003i2-BR for gctc-ntg-context-518@m.gmane.org; Thu, 23 Oct 2014 17:14:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DFD84101E6 for ; Thu, 23 Oct 2014 17:14:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HCBHi9switoC for ; Thu, 23 Oct 2014 17:14:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A614410262 for ; Thu, 23 Oct 2014 17:13:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 751FE101E7 for ; Thu, 23 Oct 2014 17:13:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id dOF_OI7lzCM4 for ; Thu, 23 Oct 2014 17:13:33 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 2C6ED101E6 for ; Thu, 23 Oct 2014 17:13:28 +0200 (CEST) Original-Received: from webmail.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s9NFDOE7011921 for ; Thu, 23 Oct 2014 17:13:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by webmail.digitpaint.nl (Postfix) with ESMTP id 1831C1C2B6 for ; Thu, 23 Oct 2014 17:13:24 +0200 (CEST) Original-Received: from webmail.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8uyx+FAluivo for ; Thu, 23 Oct 2014 17:13:24 +0200 (CEST) Original-Received: from willis-air.fritz.box (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by webmail.digitpaint.nl (Postfix) with ESMTPSA id AF2F11C2A8 for ; Thu, 23 Oct 2014 17:13:23 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1990.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=83.98.197.63; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06N6Ddo7C - 9fcbe04ada9a - 20141023 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89046 Archived-At: --===============1842071872== Content-Type: multipart/alternative; boundary="Apple-Mail=_EC7611E1-257B-4D96-85FB-17227B95C8EB" --Apple-Mail=_EC7611E1-257B-4D96-85FB-17227B95C8EB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thank you Wolfgang, indeed this helps! Willi > On 23 okt. 2014, at 06:35, Wolfgang Schuster = wrote: >=20 >>=20 >> Am 22.10.2014 um 21:47 schrieb Willi Egger >: >>=20 >> Hi all, >>=20 >> I know that there was earlier a thread dealing with this subject=E2=80=A6= . However I needed to typeset a title in a typeface with a medieval = look. One of the choices is =E2=80=9CMaximilian=E2=80=9D a ttf font = (free font). >>=20 >> I put the font in texmf-fonts/data. >>=20 >> The mtxrun --script font --list --info --all maximilian gives: >>=20 >> 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 :=20 >> 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 =20 >> mtx-fonts | trep all all >>=20 >> I tried in a classical way: >>=20 >> \starttypescript[serif][medieval] >> \definefontsynonym[serif][file:Maximilian][features=3Ddefault] >> \stoptypescript >>=20 >> \starttypescript[medieval] >> \definetypeface[Maximilian][rm][serif][medieval][default] >> \stoptypescript >>=20 >> \usetypescript[medieval] >>=20 >> \setupbodyfont[Maximilian,rm,12pt] >>=20 >> I tried also the new approach >>=20 >> \definefontfamily[Medieval][rm][Maximilian][features=3Ddefault] >> \setupbodyfont[Medieval,12pt] >>=20 >> In both cases I end up with an empty page, because the font is not = fount. =E2=80=94 What do I miss? >=20 > Change the name of the typeface to =E2=80=9Cmedieval=E2=80=9D. >=20 > Wolfgang >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_EC7611E1-257B-4D96-85FB-17227B95C8EB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Thank you Wolfgang, indeed this helps!

Willi
On 23 okt. 2014, at 06:35, = Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


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=E2=80=A6. However I needed to typeset a title = in a typeface with a medieval look. One of the choices is = =E2=80=9CMaximilian=E2=80=9D 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=3Ddefault= ]
\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=3Ddefaul= t]
 \setupbodyfont[Medieval,12pt]

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

Change the name of the typeface to =E2=80=9Cmedieval=E2=80=9D.<= /div>

Wolfgang

_______________________________________________________________= ____________________
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
_______________________________________________________________= ____________________

= --Apple-Mail=_EC7611E1-257B-4D96-85FB-17227B95C8EB-- --===============1842071872== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1842071872==--