ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Gérard Milmeister via ntg-context" <ntg-context@ntg.nl>
To: Hans Hagen <j.hagen@xs4all.nl>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Gérard Milmeister" <gemi@bluewin.ch>
Subject: Re: Using old fonts
Date: Thu, 18 Nov 2021 19:50:26 +0100	[thread overview]
Message-ID: <c00da716a982c2c5ccebad2a2e007b88b6e79cde.camel@bluewin.ch> (raw)
In-Reply-To: <c89e4e9d-8b71-5b0f-8010-bfc377caf67f@xs4all.nl>

On Thu, 2021-11-18 at 18:57 +0100, Hans Hagen wrote:
> Are you talking type 1 fonts? These should just work, assuming that you
> have the afm files installed. You need to define them with the right 
> features enabled (just like opentype fonts).
Ok, yes this works (for kerning and the standard ligatures). liga=no,
however does not disable ligatures. I had slight practical problem
with Type 1 fonts, in that the OSFONTDIR variables needs to be set
while running context. For TTF and OTF this appears only to be needed
while refreshing the cache. Since I am not yet familiar with
typescript I use \definefontfamily. Here I needed to set

\definefontfamily[mainfont][serif][Bembo][tf=Bembo,...] instead of just
\definefontfamily[mainfont][serif][Bembo]. Are there any other
features than apply to Type 1 fonts?

> The fallback mechanism does that (you can define a collection that
> way). 
> One can also try to make features (there are examples in the te st
> suite).
Have you got any pointer to such an example?

___________________________________________________________________________________
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-11-18 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-18 16:36 Gérard Milmeister via ntg-context
2021-11-18 17:57 ` Hans Hagen via ntg-context
2021-11-18 18:50   ` Gérard Milmeister via ntg-context [this message]

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=c00da716a982c2c5ccebad2a2e007b88b6e79cde.camel@bluewin.ch \
    --to=ntg-context@ntg.nl \
    --cc=gemi@bluewin.ch \
    --cc=j.hagen@xs4all.nl \
    /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).