ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Guy Worthington <guyw@multiline.com.au>
Subject: Re: Installing Garamond
Date: 18 Nov 2003 14:45:14 +0800	[thread overview]
Message-ID: <uekw6i39h.fsf@spamgourmet.com> (raw)
In-Reply-To: <200311172039.05420.john@wexfordpress.com>

John Culleton wrote:

Hello John

> I tried to install my newly purchased Adobe AGaramond

AGaramond needs some manual tweaking.  You may get better results if
you download the support files from Walter Schmidt home page:

http://home.vr-web.de/was/fonts.html

Install the following typescript file in a permanent place (I use the
already installed directory /texmf-local/tex/context/user/).  Don't
worry this script was written by someone with more clues than me.

% -- type-agaramond.tex ------------------------------------------
\usetypescriptfile[type-buy]
%
\starttypescript [serif] [agaramond] [ec]
  \definefontsynonym [AGaramond-Regular]        [padr9e]  [encoding=ec]
  \definefontsynonym [AGaramond-Italic]         [padri9e] [encoding=ec]
  \definefontsynonym [AGaramond-Bold]           [padb9e]  [encoding=ec]
  \definefontsynonym [AGaramond-BoldItalic]     [padbi9e] [encoding=ec]
%  
  \definefontsynonym [AGaramond-Regular-OSF]        [padr9d]  [encoding=ec]
  \definefontsynonym [AGaramond-Italic-OSF]         [padri9d] [encoding=ec]
  \definefontsynonym [AGaramond-Bold-OSF]           [padb9d]  [encoding=ec]
  \definefontsynonym [AGaramond-BoldItalic-OSF]     [padbi9d] [encoding=ec]
%
  \definefontsynonym [AGaramond-Semibold]       [pads9e]  [encoding=ec]
  \definefontsynonym [AGaramond-SemiboldItalic] [padsi9e] [encoding=ec]
  \definefontsynonym [AGaramond-Semibold-OSF]       [pads9d]  [encoding=ec]
  \definefontsynonym [AGaramond-SemiboldItalic-OSF] [padsi9d] [encoding=ec]
%
  \definefontsynonym [AGaramond-RegularSC]         [padrc9e]  [encoding=ec]
  \definefontsynonym [AGaramond-SemiboldSC]        [padsc9e]  [encoding=ec]
  \definefontsynonym [AGaramond-RegularSC-OSF]         [padrc9d]  [encoding=ec]
  \definefontsynonym [AGaramond-SemiboldSC-OSF]        [padsc9d]  [encoding=ec]
\stoptypescript
%
\starttypescript [serif] [agaramond] [name]
  \usetypescript[serif][fallback]  
  \definefontsynonym [Serif]             [AGaramond-Regular]  
  \definefontsynonym [SerifBold]         [AGaramond-Bold]
  \definefontsynonym [SerifItalic]       [AGaramond-Italic]
  \definefontsynonym [SerifBoldItalic]   [AGaramond-BoldItalic]
  \definefontsynonym [SemiBold]          [AGaramond-Semibold]
  \definefontsynonym [SemiBoldItalic]    [AGaramond-SemiboldItalic]
  \definefontsynonym [SerifCaps]         [AGaramond-RegularSC]
  \definefontsynonym [SerifSemiCaps]     [AGaramond-SemiboldSC]
  % the regular old-style figures are in the small-caps file
  \definefontsynonym [OldStyle]          [AGaramond-RegularSC-OSF]
\stoptypescript
%
\starttypescript [AGaramond] 
  \definetypeface [AGaramond] [rm] [serif] [agaramond] [default] [encoding=ec]
\stoptypescript
% - end of type-agaramond.tex -----------------------------------------

and then try it on a test file (worry, this is my contribution)

% - tryAGaramond.tex ------------------------------
%% you can of course make a minimal typescript file and then load only
%% that one by setting:
\def\typescriptfiles{type-agaramond.tex}
%
\usetypescriptfile[type-agaramond]
\usetypescript[AGaramond]
\setupencoding[default=ec]
\setupbodyfont[AGaramond,10.5pt]%
\setupfootnotes[bodyfont=8.8pt]%

\starttext
W619Q
\stoptext
% ----------------------------------------

  reply	other threads:[~2003-11-18  6:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-18  1:39 John Culleton
2003-11-18  6:45 ` Guy Worthington [this message]
2003-11-18  9:26 ` Adam Lindsay

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=uekw6i39h.fsf@spamgourmet.com \
    --to=guyw@multiline.com.au \
    --cc=ntg-context@ntg.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).