ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: OpenType, Jenson, handling
Date: Fri, 22 Apr 2005 21:56:41 +0100	[thread overview]
Message-ID: <20050422215641.28324@mail.comp.lancs.ac.uk> (raw)
In-Reply-To: <4269443B.9040101@wxs.nl>

Hans Hagen said this at Fri, 22 Apr 2005 20:36:43 +0200:

>David Wooten wrote:
>> Greetings all,
>> 
>> Adam,
>> Have you had any success in using hanging alignment handling with Adobe 
>> Jenson Pro? The last reference to this I've found was in your 2003 My 
>> Way on the subject.
>
>it's indepent of the font,

Actually, the thing David asked about was a weird bug turned up between
FontForge's font conversion, that particular font, and the pdfetex of
that time. I haven't seen anything like that since, especially since
using the --lcdf switch.

In any case, that font works for me now.

texfont --ma --in --lcdf --pre --ve=adobe --co=jenson --va=liga,kern,onum,pnum
texfont --ma --in --lcdf --pre --ve=adobe --co=jenson --
va=liga,kern,smcp,lnum,tnum

- 8< ---

\loadmapfile[texnansi-LIGA-KERN-ONUM-PNUM-adobe-jenson]
\loadmapfile[texnansi-LIGA-KERN-SMCP-LNUM-TNUM-adobe-jenson]
\def\SerifTypefaceFeatures    {LIGA-KERN-ONUM-PNUM}
\def\SerifCapsTypefaceFeatures{LIGA-KERN-SMCP-LNUM-TNUM}
% reduced from a more elaborate typescript
\starttypescript [serif] [JensonPro] [texnansi,ec,8r]
 \definefontsynonym[Serif]                     [\typescriptthree-
\SerifTypefaceFeatures-AJensonPro-Regular]      
[encoding=\typescriptthree,handling=pure]
 \definefontsynonym[SerifItalic]               [\typescriptthree-
\SerifTypefaceFeatures-AJensonPro-It]           
[encoding=\typescriptthree,handling=pure]
 \definefontsynonym[SerifBold]                 [\typescriptthree-
\SerifTypefaceFeatures-AJensonPro-Bold]         
[encoding=\typescriptthree,handling=pure]
 \definefontsynonym[SerifBoldItalic]           [\typescriptthree-
\SerifTypefaceFeatures-AJensonPro-BoldIt]       
[encoding=\typescriptthree,handling=pure]
 \definefontsynonym[SerifCaps]                 [\typescriptthree-
\SerifCapsTypefaceFeatures-AJensonPro-Regular]  
[encoding=\typescriptthree,handling=pure]
\stoptypescript

\definetypeface[jenny][rm][serif][JensonPro][default][encoding=texnansi]
\setupalign[hanging]
\setuptolerance[tolerant]
\setupbodyfont[jenny,12pt]

\def\compoundhyphen {\scale[sx=1.5]{-}}

\starttext
\startcolumns[n=2]
\dorecurse{3}{\input tufte \par \input knuth \par}
\stopcolumns
\stoptext

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2005-04-22 20:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 16:40 David Wooten
2005-04-22 18:36 ` Hans Hagen
2005-04-22 20:56   ` Adam Lindsay [this message]
2005-04-23 18:43     ` David Wooten

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=20050422215641.28324@mail.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --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).