From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89033 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Font-loading Date: Wed, 22 Oct 2014 21:47:02 +0200 Message-ID: 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="===============0586463906==" X-Trace: ger.gmane.org 1414007272 4248 80.91.229.3 (22 Oct 2014 19:47:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Oct 2014 19:47:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 22 21:47:47 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 1Xh1so-0004dH-H1 for gctc-ntg-context-518@m.gmane.org; Wed, 22 Oct 2014 21:47:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D19A6101E4 for ; Wed, 22 Oct 2014 21:47:45 +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 hTsmc2Ve0Okl for ; Wed, 22 Oct 2014 21:47:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5BFAB10259 for ; Wed, 22 Oct 2014 21:47:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62C36101EA for ; Wed, 22 Oct 2014 21:47:13 +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 GP2xnn94zLAf for ; Wed, 22 Oct 2014 21:47:12 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id EF81B101E4 for ; Wed, 22 Oct 2014 21:47:11 +0200 (CEST) Original-Received: from webmail.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s9MJl3Av002301 for ; Wed, 22 Oct 2014 21:47:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by webmail.digitpaint.nl (Postfix) with ESMTP id 678521C29B for ; Wed, 22 Oct 2014 21:47:03 +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 Fq23jJzhUqke for ; Wed, 22 Oct 2014 21:47:03 +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 2C33C1C276 for ; Wed, 22 Oct 2014 21:47:03 +0200 (CEST) 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: 08N6jL3Lb - 313d332fa786 - 20141022 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:89033 Archived-At: --===============0586463906== Content-Type: multipart/alternative; boundary="Apple-Mail=_095E1DAD-8DE0-4ACE-ACA9-CCC3EAB793DF" --Apple-Mail=_095E1DAD-8DE0-4ACE-ACA9-CCC3EAB793DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 :=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 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=3Ddefault] \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? Kind regards Willi --Apple-Mail=_095E1DAD-8DE0-4ACE-ACA9-CCC3EAB793DF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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?

Kind = regards

Willi

= --Apple-Mail=_095E1DAD-8DE0-4ACE-ACA9-CCC3EAB793DF-- --===============0586463906== 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= --===============0586463906==--