ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: some ConTeXt distribution's Fonts don't work
Date: Sun, 24 Oct 2021 17:23:20 +0200	[thread overview]
Message-ID: <bf46f4ae-fadb-84c5-7d75-3e194efbf363@gmail.com> (raw)
In-Reply-To: <CAE+cQBx0pQqXvpkC-SSZUc8sN3CsoU5nKi3P-6XvtsXk2xsezw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

Luis Montgomery via ntg-context schrieb am 22.10.2021 um 21:13:
> Apparently, almfixed and kurier fonts no longer load as before.

The ALM Fixed font can't be used because there is no typescript file
to use it in a document.

The Kurier fonts have an existing typescript file but it can't be used 
because a) it refers to the font files in Type1 format which are shipped 
with ConTeXt but the metric files (*.afm) are missing and b) there are 
no typeface definition (\definetypeface) to load the typescripts.

Attached are new typescript files for ALM Fixed and Kurier, you can use 
both of them to test if everything works as expected.

Wolfgang



[-- Attachment #2: type-imp-kurier.mkiv --]
[-- Type: text/plain, Size: 5716 bytes --]

%D \module
%D   [       file=type-imp-kurier,
%D        version=2021.10.24,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Kurier,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\starttypescriptcollection [kurier]

    \starttypescript [\s!sans] [kurier-light,kurier,kurier-medium]
        \definefontsynonym [Kurier-Light]        [\s!file:kurierlightregular]  [\s!features=\s!default]
        \definefontsynonym [Kurier-LightItalic]  [\s!file:kurierlightitalic]   [\s!features=\s!default]
        \definefontsynonym [Kurier-Regular]      [\s!file:kurierregular]       [\s!features=\s!default]
        \definefontsynonym [Kurier-Italic]       [\s!file:kurieritalic]        [\s!features=\s!default]
        \definefontsynonym [Kurier-Medium]       [\s!file:kuriermediumregular] [\s!features=\s!default]
        \definefontsynonym [Kurier-MediumItalic] [\s!file:kuriermediumitalic]  [\s!features=\s!default]
        \definefontsynonym [Kurier-Bold]         [\s!file:kurierbold]          [\s!features=\s!default]
        \definefontsynonym [Kurier-BoldItalic]   [\s!file:kurierbolditalic]    [\s!features=\s!default]
        \definefontsynonym [Kurier-Heavy]        [\s!file:kurierheavyregular]  [\s!features=\s!default]
        \definefontsynonym [Kurier-HeavyItalic]  [\s!file:kurierheavyitalic]   [\s!features=\s!default]
    \stoptypescript

    \starttypescript [\s!sans] [kurier-lightcond,kurier-cond,kurier-mediumcond]
        \definefontsynonym [Kurier-CondLight]        [\s!file:kuriercondlightregular]  [\s!features=\s!default]
        \definefontsynonym [Kurier-CondLightItalic]  [\s!file:kuriercondlightitalic]   [\s!features=\s!default]
        \definefontsynonym [Kurier-CondRegular]      [\s!file:kuriercondregular]       [\s!features=\s!default]
        \definefontsynonym [Kurier-CondItalic]       [\s!file:kurierconditalic]        [\s!features=\s!default]
        \definefontsynonym [Kurier-CondMedium]       [\s!file:kuriercondmediumregular] [\s!features=\s!default]
        \definefontsynonym [Kurier-CondMediumItalic] [\s!file:kuriercondmediumitalic]  [\s!features=\s!default]
        \definefontsynonym [Kurier-CondBold]         [\s!file:kuriercondbold]          [\s!features=\s!default]
        \definefontsynonym [Kurier-CondBoldItalic]   [\s!file:kuriercondbolditalic]    [\s!features=\s!default]
        \definefontsynonym [Kurier-CondHeavy]        [\s!file:kuriercondheavyregular]  [\s!features=\s!default]
        \definefontsynonym [Kurier-CondHeavyItalic]  [\s!file:kuriercondheavyitalic]   [\s!features=\s!default]
    \stoptypescript

    \starttypescript [\s!sans] [kurier-light]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Kurier-Light]
        \definefontsynonym [\s!SansItalic]     [Kurier-LightItalic]
        \definefontsynonym [\s!SansBold]       [Kurier-Medium]
        \definefontsynonym [\s!SansBoldItalic] [Kurier-MediumItalic]
    \stoptypescript

    \starttypescript [\s!sans] [kurier]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Kurier-Regular]
        \definefontsynonym [\s!SansItalic]     [Kurier-Italic]
        \definefontsynonym [\s!SansBold]       [Kurier-Bold]
        \definefontsynonym [\s!SansBoldItalic] [Kurier-BoldItalic]
    \stoptypescript

    \starttypescript [\s!sans] [kurier-medium]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Kurier-Medium]
        \definefontsynonym [\s!SansItalic]     [Kurier-MediumItalic]
        \definefontsynonym [\s!SansBold]       [Kurier-Heavy]
        \definefontsynonym [\s!SansBoldItalic] [Kurier-HeavyItalic]
    \stoptypescript

    \starttypescript [\s!sans] [kurier-lightcond]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Kurier-CondLight]
        \definefontsynonym [\s!SansItalic]     [Kurier-CondLightItalic]
        \definefontsynonym [\s!SansBold]       [Kurier-CondMedium]
        \definefontsynonym [\s!SansBoldItalic] [Kurier-CondMediumItalic]
    \stoptypescript

    \starttypescript [\s!sans] [kurier-cond]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Kurier-CondRegular]
        \definefontsynonym [\s!SansItalic]     [Kurier-CondItalic]
        \definefontsynonym [\s!SansBold]       [Kurier-CondBold]
        \definefontsynonym [\s!SansBoldItalic] [Kurier-CondBoldItalic]
    \stoptypescript

    \starttypescript [\s!sans] [kurier-mediumcond]
        \setups[\s!font:\s!fallback:\s!sans]
        \definefontsynonym [\s!Sans]           [Kurier-CondMedium]
        \definefontsynonym [\s!SansItalic]     [Kurier-CondMediumItalic]
        \definefontsynonym [\s!SansBold]       [Kurier-CondHeavy]
        \definefontsynonym [\s!SansBoldItalic] [Kurier-CondHeavyItalic]
    \stoptypescript

    \starttypescript [kurier-light,kurier,kurier-medium,kurier-lightcond,kurier-cond,kurier-mediumcond]
        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [\typescriptone] [\s!default]
        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern]         [\s!default]
        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default]
        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]         [\s!default]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

[-- Attachment #3: type-imp-almfixed.mkiv --]
[-- Type: text/plain, Size: 1273 bytes --]

%D \module
%D   [       file=type-imp-almfixed,
%D        version=2021.10.24,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=ALM Fixed,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\starttypescriptcollection [almfixed]

    \starttypescript [\s!mono] [almfixed]
        \definefontsynonym [ALMFixed-Regular] [\s!file:almfixed] [\s!features=\s!none]
    \stoptypescript

    \starttypescript [\s!mono] [almfixed]
        \setups[\s!font:\s!fallback:\s!mono]
        \definefontsynonym [\s!Mono] [ALMFixed-Regular]
    \stoptypescript

    \starttypescript [almfixed]
        \definetypeface [almfixed] [\s!tt] [\s!mono]  [almfixed] [\s!default]
        \definetypeface [almfixed] [\s!rm] [\s!serif] [modern]   [\s!default] [\s!rscale=0.92]
        \definetypeface [almfixed] [\s!ss] [\s!sans]  [modern]   [\s!default] [\s!rscale=0.92]
        \definetypeface [almfixed] [\s!mm] [\s!math]  [modern]   [\s!default] [\s!rscale=0.92]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

[-- Attachment #4: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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:[~2021-10-24 15:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 21:01 a badin via ntg-context
2021-10-22  4:30 ` Luis Montgomery via ntg-context
2021-10-22  7:28   ` Hans Hagen via ntg-context
2021-10-22 11:16     ` a badin via ntg-context
2021-10-22 15:44     ` a badin via ntg-context
2021-10-22 19:13       ` Luis Montgomery via ntg-context
2021-10-24 15:23         ` Wolfgang Schuster via ntg-context [this message]
2021-10-24 16:05           ` Luis Montgomery 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=bf46f4ae-fadb-84c5-7d75-3e194efbf363@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).