Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Alain Delmotte via ntg-context

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
__
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
___


Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Pablo Rodriguez via ntg-context
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
___


Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Hans Hagen via ntg-context

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
___


[NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Alain Delmotte via ntg-context

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

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