ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem installing a new font
Date: Mon, 12 Nov 2018 16:33:38 +0100	[thread overview]
Message-ID: <FB353642-E69C-4BF2-A980-73C8499677AD@boede.nl> (raw)
In-Reply-To: <BA7EB319-BD12-4E5C-BE34-3BF85E656A84@elvenkind.com>

Hi Taco,


Thank you so much!

1. yes  forgot that /fonts piece in the given path.

2. Indeed mtxrun —generate is the key!

And 3 : it works!

Bedankt en groet

Willi

> On 12 Nov 2018, at 16:26, Taco Hoekwater <taco@elvenkind.com> wrote:
> 
> Hi,
> 
>> On 12 Nov 2018, at 15:39, Willi Egger <context@boede.nl> wrote:
>> 
>> I downloaded the font and put all *afm and *.pfb files into ../texmf-fonts/data/public/aurical
> 
> Not sure about that path. Should that not be ../texmf-fonts/fonts/data/public/aurical ?
> 
> Nevertheless, the most important missing ingredient is
> 
>   mtxrun --generate
> 
> Since ‘mtxrun —script fonts —reload’ does not scan the disk of the standard folders,
> it just queries the file cache.
> 
> So the right order is:
> 
>  unzip 
>  mtxrun —generate
>  mtxrun —script fonts —reload
> 
> That works for me. 
> 
> I just unzipped the CTAN download into my texmf-fonts, so I have
> 
> hamster:texmf-fonts taco$ mtxrun LukasSvatbaSlant.afm
>  /Users/taco/context/tex/texmf-fonts/fonts/afm/public/aurical/LukasSvatbaSlant.afm
> 
> hamster:texmf-fonts taco$ mtxrun --script font --list --file --pattern=LukasSvatbaSlant.afm
>  familyname    weight   style    width    variant   fontname             filename               subfont   fontweight
>  lukassvatba   normal   italic   normal   normal    lukassvatbaoblique   LukasSvatbaSlant.afm             conflict: oblique
> 
> And it works:
> 
> hamster:Downloads taco$ pdffonts HW.pdf
> name                                 type              encoding         emb sub uni object ID
> ------------------------------------ ----------------- ---------------- --- --- --- ---------
> WIPANP+LMRoman12-Regular             CID Type 0C       Identity-H       yes yes yes     10  0
> SRZNPW+Lukas-Svatba                  CID Type 0C       Identity-H       yes yes yes     11  0
> 
> Best wishes,
> Taco
> 
> 
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

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

  reply	other threads:[~2018-11-12 15:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 20:56 Procházka Lukáš Ing.
2018-11-12 14:39 ` Willi Egger
2018-11-12 15:26   ` Taco Hoekwater
2018-11-12 15:33     ` Willi Egger [this message]
2018-11-11 14:28 Procházka Lukáš Ing.
2018-11-11 17:43 ` Willi Egger
2018-11-11 17:57   ` Hans Hagen

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=FB353642-E69C-4BF2-A980-73C8499677AD@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).