ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Help for using fonts Nupuram
@ 2022-12-23 11:00 Alain Delmotte via ntg-context
  2022-12-23 12:13 ` Hans Hagen via ntg-context
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Alain Delmotte via ntg-context @ 2022-12-23 11:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alain Delmotte


[-- Attachment #1.1: Type: text/plain, Size: 1417 bytes --]

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.

I downloaded the font in a big .zip file.
It contains: two explaining files and  folder with  
sub-folder "Nupuram", which in turn contains 6 subsub-filders:
- otf with 32 otf font files
- otf-variable with 1 file "Nupuram-VF.otf"
- ttf with 32 ttf font files
- ttf-variable with 1 file "Nupuram-VF.ttf"
- ufo with 32 subfolders xxx.ufo
- webfonts with 33 xxx.woff2 files

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.

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.

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:
- tex\texmf\fonts      mainly empty except \data
- texmf-context\fonts  populated
- texmf-fonts  empty
- texmf-modules\fonts  populated

Thanks for you help.

Merry Christmas and Happy New Year,
Regards

--
Alain


[-- Attachment #1.2: Type: text/html, Size: 2067 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Help for using fonts Nupuram
  2022-12-23 11:00 Help for using fonts Nupuram 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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-23 12:13 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 12/23/2022 12:00 PM, 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.
> 
> I downloaded the font in a big .zip file.
> It contains: two explaining files and  folder with  sub-folder 
> "Nupuram", which in turn contains 6 subsub-filders:
> - otf with 32 otf font files
> - otf-variable with 1 file "Nupuram-VF.otf"
> - ttf with 32 ttf font files
> - ttf-variable with 1 file "Nupuram-VF.ttf"
> - ufo with 32 subfolders xxx.ufo
> - webfonts with 33 xxx.woff2 files
> 
> 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.
> 
> 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.
> 
> 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:
> - tex\texmf\fonts      mainly empty except \data
> - texmf-context\fonts  populated
> - texmf-fonts  empty
> - texmf-modules\fonts  populated
don't mis instances and variable fonts here because they have clashing 
(internal) names; put the variable fonts in:

fonts/data/nupuram/*

then run mtxrun --make

and see if s-fonts-variable.mk*v runs (check at the end what font is used)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Help for using fonts Nupuram
  2022-12-23 11:00 Help for using fonts Nupuram 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
  2022-12-23 17:18 ` Alain Delmotte via ntg-context
  3 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-23 12:13 UTC (permalink / raw)
  To: Alain Delmotte via ntg-context; +Cc: Hans Hagen

sorry, it's

mtxrun --generate



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Help for using fonts Nupuram
  2022-12-23 11:00 Help for using fonts Nupuram 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
  2022-12-23 13:48   ` Pablo Rodriguez via ntg-context
  2022-12-23 17:18 ` Alain Delmotte via ntg-context
  3 siblings, 1 reply; 6+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-23 12:50 UTC (permalink / raw)
  To: Alain Delmotte via ntg-context; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Help for using fonts Nupuram
  2022-12-23 12:50 ` Pablo Rodriguez via ntg-context
@ 2022-12-23 13:48   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-23 13:48 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Pablo Rodriguez

On 12/23/22 13:50, Pablo Rodriguez via ntg-context wrote:
> On 12/23/22 12:00, Alain Delmotte via ntg-context wrote:
> Color should be fine. I’m checking what may be wrong with weight.

Alain,

nothing is wrong with weight (https://pdf.ousia.tk/wght.pdf):

  \starttext
    \startTEXpage[offset=1em, width=12em]
    \dorecurse{20}
      {\definefontfeature[\recurselevel]
        [axis={wght={\the\numexpr\recurselevel * 50\relax}},
          colr={\recurselevel}]
       \definedfont[Nupuram-Color.colrv1.otf*\recurselevel]abcde }
    \stopTEXpage
  \stoptext

It works fine with LMTX (but not with MkIV [not sure whether this is
intended]).

Just in case it helps,

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Help for using fonts Nupuram
  2022-12-23 11:00 Help for using fonts Nupuram Alain Delmotte via ntg-context
                   ` (2 preceding siblings ...)
  2022-12-23 12:50 ` Pablo Rodriguez via ntg-context
@ 2022-12-23 17:18 ` Alain Delmotte via ntg-context
  3 siblings, 0 replies; 6+ messages in thread
From: Alain Delmotte via ntg-context @ 2022-12-23 17:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Alain Delmotte


[-- Attachment #1.1: Type: text/plain, Size: 642 bytes --]

Thank you for your help.

It works.

Alain

Thanks for you help.
>
>
> Merry Christmas and Happy New Year,
> Regards
>
> --
> Alain
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 1759 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-12-23 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 11:00 Help for using fonts Nupuram 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
2022-12-23 13:48   ` Pablo Rodriguez via ntg-context
2022-12-23 17:18 ` Alain Delmotte via ntg-context

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).