ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: Alain Delmotte via ntg-context <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: Help for using fonts Nupuram
Date: Fri, 23 Dec 2022 13:50:55 +0100	[thread overview]
Message-ID: <d8c15a54-7be4-b7ca-f99a-1ff695ab1a23@gmx.es> (raw)
In-Reply-To: <16cf343f-58ee-91a7-a680-bfb5163f92c4@leliseron.org>

On 12/23/22 12:00, Alain Delmotte via ntg-context wrote:
> Hi!
> 
> I am trying to run the example Hans published on the 1st of December
> with a new upload.
> It is about using the variable font Nupuram.

Hi Alain,

you mean https://mailman.ntg.nl/pipermail/ntg-context/2022/107279.html.

> After looking to contextgarden,I tried to put the "Nupuram" sub-folder
> or only the folders with .otf in different places of my context-lmtx
> folder, and using "mtxrun --script font --reload".
> But the example of Hans didn't work.

After installing fonts, I always run:

  mtxrun --scripts cache --erase && mtxrun --generate

This helps to remove all the cache (so it doesn’t interfere with new
features to read fonts [among other things]).

> Then I install the .ttf font files in Windows\fonts; it works, but 1)
> trying to install the Nupuram-VF.ttf, I have the message that
> Nupuram-Regular is already installed; and 2) I get the font in the
> example, but no changes of width or colour.

Install either the variable font or the singular fonts. And also install
OTF or TTF. This prevents clashes with font names.

https://smc.org.in/downloads/fonts/nupuram/Nupuram.zip doesn’t contain
the color version.

https://smc.gitlab.io/fonts/Nupuram/fonts/Nupuram-Color.zip contains it.
From fonts/Nupuram-Color/otf-color/ copy Nupuram-Color.colrv1.otf (to
the directory below).

After having copied the font to texmf-fonts/, run "mtxrun --scripts
cache --erase && mtxrun --generate".

Color should be fine. I’m checking what may be wrong with weight.

> So, now I deleted all the Nupuram everywhere.
> How could I have it fully working under context-lmtx?
> 
> I have different places for fonts in my context-lmtx:
> - texmf-fonts  empty

This is the right directory to copy you fonts. It doesn’t get modified
(so contents won’t be erased after an update).

Other directories aren’t designed to contain user fonts.

I hope it helps now. Happy holiday season,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2022-12-23 12:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 11:00 Alain Delmotte via ntg-context
2022-12-23 12:13 ` Hans Hagen via ntg-context
2022-12-23 12:13 ` Hans Hagen via ntg-context
2022-12-23 12:50 ` Pablo Rodriguez via ntg-context [this message]
2022-12-23 13:48   ` Pablo Rodriguez via ntg-context
2022-12-23 17:18 ` Alain Delmotte via ntg-context

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=d8c15a54-7be4-b7ca-f99a-1ff695ab1a23@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).