ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mtxrun fails to install fonts
@ 2018-07-03 16:50 Stanislav Sokolenko
  2018-07-04  7:32 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Stanislav Sokolenko @ 2018-07-03 16:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have what seems to be an OS- or ConTeXt version-specific issue with 
mtxrun installing fonts.

I've been trying to add new truetype fonts (specifically Archivo ttf 
files) on Arch Linux using the following command:

export OSFONTDIR=~/.fonts//; mtxrun --script font --reload

And I've been using the following to check the installation:

mtxrun --script font --list --all --pattern=*archi*

It seems like a relatively new version of ConTeXt on Arch Linux 
(2018.04.04 00:51) recognizes but does not install the ttf files located 
in ~/.fonts/. The (shortened) output is:

fonts           | names | identifying system font files with suffix 'ttf'
fonts           | names | globbing path '/home/stanislav/.fonts/**.ttf'
fonts           | names | identifying system font files with suffix 'TTF'
fonts           | names | globbing path '/home/stanislav/.fonts/**.TTF'
fonts           | names | 8 system files identified, 0 skipped, 0 
duplicates, 8 hash entries added, runtime 0.006 seconds

But when I check the installation, no Archivo files are found.

Strangely, an older installation on Linux Mint (2015.05.18 12:26) has no 
problems with the same ttf files:

fonts           | names | globbing path '/home/stanislav/.fonts/**.ttf'
fonts           | names | identifying system font files with suffix 'TTF'
fonts           | names | globbing path '/home/stanislav/.fonts/**.TTF'
fonts           | names | 8 system files identified, 0 skipped, 0 
duplicates, 8 hash entries added, runtime 0.000 seconds

And the check:

mtxrun --script font --list --all --pattern=*archi*

archivo                 archivomedium 
/home/stanislav/.fonts/typecatcher/Archivo_500.ttf
archivobold             archivobold 
/home/stanislav/.fonts/typecatcher/Archivo_700.ttf
archivobolditalic       archivobolditalic 
/home/stanislav/.fonts/typecatcher/Archivo_700italic.ttf
archivodemi             archivosemibold 
/home/stanislav/.fonts/typecatcher/Archivo_600.ttf
archivoitalic           archivoitalic 
/home/stanislav/.fonts/typecatcher/Archivo_italic.ttf
archivomedium           archivomedium 
/home/stanislav/.fonts/typecatcher/Archivo_500.ttf
archivomediumitalic     archivomediumitalic 
/home/stanislav/.fonts/typecatcher/Archivo_500italic.ttf
archivonormal           archivoitalic 
/home/stanislav/.fonts/typecatcher/Archivo_italic.ttf
archivoregular          archivoregular 
/home/stanislav/.fonts/typecatcher/Archivo_regular.ttf
archivosemibold         archivosemibold 
/home/stanislav/.fonts/typecatcher/Archivo_600.ttf
archivosemibolditalic   archivosemibolditalic 
/home/stanislav/.fonts/typecatcher/Archivo_600italic.ttf

I've been searching for a couple of days and I'm at a loss. Is there a 
way to check why the identified system files aren't being installed?

Thanks,

Stan

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

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

* Re: mtxrun fails to install fonts
  2018-07-03 16:50 mtxrun fails to install fonts Stanislav Sokolenko
@ 2018-07-04  7:32 ` Hans Hagen
  2018-07-04 14:56   ` Stanislav Sokolenko
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2018-07-04  7:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Stanislav Sokolenko

On 7/3/2018 6:50 PM, Stanislav Sokolenko wrote:
> Dear list,
> 
> I have what seems to be an OS- or ConTeXt version-specific issue with 
> mtxrun installing fonts.
> 
> I've been trying to add new truetype fonts (specifically Archivo ttf 
> files) on Arch Linux using the following command:
> 
> export OSFONTDIR=~/.fonts//; mtxrun --script font --reload
> 
> And I've been using the following to check the installation:
> 
> mtxrun --script font --list --all --pattern=*archi*
> 
> It seems like a relatively new version of ConTeXt on Arch Linux 
> (2018.04.04 00:51) recognizes but does not install the ttf files located 
> in ~/.fonts/. The (shortened) output is:
> 
> fonts           | names | identifying system font files with suffix 'ttf'
> fonts           | names | globbing path '/home/stanislav/.fonts/**.ttf'
> fonts           | names | identifying system font files with suffix 'TTF'
> fonts           | names | globbing path '/home/stanislav/.fonts/**.TTF'
> fonts           | names | 8 system files identified, 0 skipped, 0 
> duplicates, 8 hash entries added, runtime 0.006 seconds
> 
> But when I check the installation, no Archivo files are found.
> 
> Strangely, an older installation on Linux Mint (2015.05.18 12:26) has no 
> problems with the same ttf files:
> 
> fonts           | names | globbing path '/home/stanislav/.fonts/**.ttf'
> fonts           | names | identifying system font files with suffix 'TTF'
> fonts           | names | globbing path '/home/stanislav/.fonts/**.TTF'
> fonts           | names | 8 system files identified, 0 skipped, 0 
> duplicates, 8 hash entries added, runtime 0.000 seconds
> 
> And the check:
> 
> mtxrun --script font --list --all --pattern=*archi*
> 
> archivo                 archivomedium 
> /home/stanislav/.fonts/typecatcher/Archivo_500.ttf
> archivobold             archivobold 
> /home/stanislav/.fonts/typecatcher/Archivo_700.ttf
> archivobolditalic       archivobolditalic 
> /home/stanislav/.fonts/typecatcher/Archivo_700italic.ttf
> archivodemi             archivosemibold 
> /home/stanislav/.fonts/typecatcher/Archivo_600.ttf
> archivoitalic           archivoitalic 
> /home/stanislav/.fonts/typecatcher/Archivo_italic.ttf
> archivomedium           archivomedium 
> /home/stanislav/.fonts/typecatcher/Archivo_500.ttf
> archivomediumitalic     archivomediumitalic 
> /home/stanislav/.fonts/typecatcher/Archivo_500italic.ttf
> archivonormal           archivoitalic 
> /home/stanislav/.fonts/typecatcher/Archivo_italic.ttf
> archivoregular          archivoregular 
> /home/stanislav/.fonts/typecatcher/Archivo_regular.ttf
> archivosemibold         archivosemibold 
> /home/stanislav/.fonts/typecatcher/Archivo_600.ttf
> archivosemibolditalic   archivosemibolditalic 
> /home/stanislav/.fonts/typecatcher/Archivo_600italic.ttf
> 
> I've been searching for a couple of days and I'm at a loss. Is there a 
> way to check why the identified system files aren't being installed?
Can you test the beta from the contextgarden?

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

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

* Re: mtxrun fails to install fonts
  2018-07-04  7:32 ` Hans Hagen
@ 2018-07-04 14:56   ` Stanislav Sokolenko
  0 siblings, 0 replies; 3+ messages in thread
From: Stanislav Sokolenko @ 2018-07-04 14:56 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users, stanislav

Hi Hans,

On 2018-07-04 04:32 AM, Hans Hagen wrote:
> Can you test the beta from the contextgarden?

The beta works with no problems, thanks!

I have also played around with my older installation some more and it 
seems like the original problem was related to the font cache.

I have previously tried deleting the cache (with no effect) using:

mtxrun --script cache --erase --fonts

However, I have just now realized that running the same command with 
sudo deleted a different cache (/var/... vs /home/...):

sudo mtxrun --script cache --erase --fonts

Once both caches were deleted, the fonts were identified and installed 
with no problems.

I'm not sure how to recreate this issue with the beta install, but maybe 
it was just a quirk of my particular system.

Cheers,

Stan

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

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

end of thread, other threads:[~2018-07-04 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-03 16:50 mtxrun fails to install fonts Stanislav Sokolenko
2018-07-04  7:32 ` Hans Hagen
2018-07-04 14:56   ` Stanislav Sokolenko

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