ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pascal de Bruijn <pmjdebruijn@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: OpenType typescripts
Date: Sun, 12 Aug 2007 19:12:24 +0200	[thread overview]
Message-ID: <1186938744.8713.10.camel@carnifex> (raw)

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

Hi,

I'm trying to write my own OpenType installation script. So far I have
run otftotfm to install my fonts and create tfm files.

Now I need to generate a typescript files, but the documentation I've
read sofar puzzles me.

>From a base font "AGaramond-Pro" containing three weights:
- Regular
- Semibold
- Bold

I generate two versions:
- tabular lining figures
- proportional old style figures

Except for non-italic variants of Regular and Semibold which have two
additional versions:
- small caps + proportional old style figures
- caps to small caps + small caps + proportional old style figures

How should I write my typescript so I can easily choose between the
versions of the fonts?

Regards,
Pascal de Bruijn

-- 
http://blog.pcode.nl/
http://www.linkselente.nl/

[-- Attachment #2: otftotfm.log --]
[-- Type: text/x-log, Size: 8285 bytes --]

pmjdebruijn@carnifex:~/opentype/generated/adobe/garamond$ ~/otf.sh 
LY1--AGaramondPro-BoldItalic--flnum-ftnum--lcdfj AGaramondPro-BoldItalicLCDFJ "" <AGaramondPro-BoldItalicLCDFJ.pfb
I had to round some heights by 18.0000000 units.
I had to round some depths by 5.0000000 units.
I had to round some italic corrections by 0.5000000 units.
I had to round some heights by 18.0000000 units.
I had to round some depths by 5.0000000 units.
I had to round some italic corrections by 0.5000000 units.
LY1--AGaramondPro-BoldItalic--flnum-ftnum--base AGaramondPro-BoldItalic "AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont" <[a_nxdktp.enc <AGaramondPro-BoldItalic.pfb
LY1--AGaramondPro-BoldItalic--fonum-fpnum--lcdfj AGaramondPro-BoldItalicLCDFJ "" <AGaramondPro-BoldItalicLCDFJ.pfb
I had to round some heights by 18.0000000 units.
I had to round some depths by 6.5000000 units.
I had to round some italic corrections by 0.5000000 units.
I had to round some heights by 18.0000000 units.
I had to round some depths by 6.5000000 units.
I had to round some italic corrections by 0.5000000 units.
LY1--AGaramondPro-BoldItalic--fonum-fpnum--base AGaramondPro-BoldItalic "AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont" <[a_t7l7nd.enc <AGaramondPro-BoldItalic.pfb
LY1--AGaramondPro-Bold--flnum-ftnum--lcdfj AGaramondPro-BoldLCDFJ "" <AGaramondPro-BoldLCDFJ.pfb
I had to round some heights by 17.5000000 units.
I had to round some depths by 4.5000000 units.
I had to round some heights by 17.5000000 units.
I had to round some depths by 4.5000000 units.
LY1--AGaramondPro-Bold--flnum-ftnum--base AGaramondPro-Bold "AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont" <[a_nxdktp.enc <AGaramondPro-Bold.pfb
LY1--AGaramondPro-Bold--fonum-fpnum--lcdfj AGaramondPro-BoldLCDFJ "" <AGaramondPro-BoldLCDFJ.pfb
I had to round some heights by 19.0000000 units.
I had to round some depths by 5.0000000 units.
I had to round some heights by 19.0000000 units.
I had to round some depths by 5.0000000 units.
LY1--AGaramondPro-Bold--fonum-fpnum--base AGaramondPro-Bold "AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont" <[a_t7l7nd.enc <AGaramondPro-Bold.pfb
LY1--AGaramondPro-Italic--flnum-ftnum--lcdfj AGaramondPro-ItalicLCDFJ "" <AGaramondPro-ItalicLCDFJ.pfb
I had to round some heights by 18.5000000 units.
I had to round some depths by 6.0000000 units.
I had to round some italic corrections by 0.5000000 units.
I had to round some heights by 18.5000000 units.
I had to round some depths by 6.0000000 units.
I had to round some italic corrections by 0.5000000 units.
LY1--AGaramondPro-Italic--flnum-ftnum--base AGaramondPro-Italic "AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont" <[a_nxdktp.enc <AGaramondPro-Italic.pfb
LY1--AGaramondPro-Italic--fonum-fpnum--lcdfj AGaramondPro-ItalicLCDFJ "" <AGaramondPro-ItalicLCDFJ.pfb
I had to round some heights by 19.0000000 units.
I had to round some depths by 6.0000000 units.
I had to round some italic corrections by 0.5000000 units.
I had to round some heights by 19.0000000 units.
I had to round some depths by 6.0000000 units.
I had to round some italic corrections by 0.5000000 units.
LY1--AGaramondPro-Italic--fonum-fpnum--base AGaramondPro-Italic "AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont" <[a_t7l7nd.enc <AGaramondPro-Italic.pfb
LY1--AGaramondPro-Regular--flnum-ftnum--lcdfj AGaramondPro-RegularLCDFJ "" <AGaramondPro-RegularLCDFJ.pfb
I had to round some heights by 16.0000000 units.
I had to round some depths by 6.0000000 units.
I had to round some heights by 16.0000000 units.
I had to round some depths by 6.0000000 units.
LY1--AGaramondPro-Regular--flnum-ftnum--base AGaramondPro-Regular "AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont" <[a_nxdktp.enc <AGaramondPro-Regular.pfb
LY1--AGaramondPro-Regular--fonum-fpnum--lcdfj AGaramondPro-RegularLCDFJ "" <AGaramondPro-RegularLCDFJ.pfb
I had to round some heights by 18.0000000 units.
I had to round some depths by 5.5000000 units.
I had to round some heights by 18.0000000 units.
I had to round some depths by 5.5000000 units.
LY1--AGaramondPro-Regular--fonum-fpnum--base AGaramondPro-Regular "AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont" <[a_t7l7nd.enc <AGaramondPro-Regular.pfb
LY1--AGaramondPro-Regular--fsmcp-fonum-fpnum--lcdfj AGaramondPro-RegularLCDFJ "" <AGaramondPro-RegularLCDFJ.pfb
I had to round some heights by 18.0000000 units.
I had to round some depths by 5.5000000 units.
I had to round some heights by 18.0000000 units.
I had to round some depths by 5.5000000 units.
LY1--AGaramondPro-Regular--fsmcp-fonum-fpnum--base AGaramondPro-Regular "AutoEnc_so32vdqbpso2czh2sgdjdo6doc ReEncodeFont" <[a_so32vd.enc <AGaramondPro-Regular.pfb
LY1--AGaramondPro-Regular--fc2sc-fsmcp-fonum-fpnum--lcdfj AGaramondPro-RegularLCDFJ "" <AGaramondPro-RegularLCDFJ.pfb
I had to round some heights by 16.0000000 units.
I had to round some depths by 5.0000000 units.
I had to round some heights by 16.0000000 units.
I had to round some depths by 5.0000000 units.
LY1--AGaramondPro-Regular--fc2sc-fsmcp-fonum-fpnum--base AGaramondPro-Regular "AutoEnc_saay2yy4ezhwqwedbyomddmcpf ReEncodeFont" <[a_saay2y.enc <AGaramondPro-Regular.pfb
LY1--AGaramondPro-SemiboldItalic--flnum-ftnum--lcdfj AGaramondPro-SemiboldItalicLCDFJ "" <AGaramondPro-SemiboldItalicLCDFJ.pfb
I had to round some heights by 18.5000000 units.
I had to round some depths by 5.5000000 units.
I had to round some italic corrections by 0.5000000 units.
I had to round some heights by 18.5000000 units.
I had to round some depths by 5.5000000 units.
I had to round some italic corrections by 0.5000000 units.
LY1--AGaramondPro-SemiboldItalic--flnum-ftnum--base AGaramondPro-SemiboldItalic "AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont" <[a_nxdktp.enc <AGaramondPro-SemiboldItalic.pfb
LY1--AGaramondPro-SemiboldItalic--fonum-fpnum--lcdfj AGaramondPro-SemiboldItalicLCDFJ "" <AGaramondPro-SemiboldItalicLCDFJ.pfb
I had to round some heights by 19.0000000 units.
I had to round some depths by 7.0000000 units.
I had to round some italic corrections by 0.5000000 units.
I had to round some heights by 19.0000000 units.
I had to round some depths by 7.0000000 units.
I had to round some italic corrections by 0.5000000 units.
LY1--AGaramondPro-SemiboldItalic--fonum-fpnum--base AGaramondPro-SemiboldItalic "AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont" <[a_t7l7nd.enc <AGaramondPro-SemiboldItalic.pfb
LY1--AGaramondPro-Semibold--flnum-ftnum--lcdfj AGaramondPro-SemiboldLCDFJ "" <AGaramondPro-SemiboldLCDFJ.pfb
I had to round some heights by 17.5000000 units.
I had to round some depths by 5.5000000 units.
I had to round some heights by 17.5000000 units.
I had to round some depths by 5.5000000 units.
LY1--AGaramondPro-Semibold--flnum-ftnum--base AGaramondPro-Semibold "AutoEnc_nxdktpc7kmp4wjbknkxbxyci3g ReEncodeFont" <[a_nxdktp.enc <AGaramondPro-Semibold.pfb
LY1--AGaramondPro-Semibold--fonum-fpnum--lcdfj AGaramondPro-SemiboldLCDFJ "" <AGaramondPro-SemiboldLCDFJ.pfb
I had to round some heights by 17.5000000 units.
I had to round some depths by 5.5000000 units.
I had to round some heights by 17.5000000 units.
I had to round some depths by 5.5000000 units.
LY1--AGaramondPro-Semibold--fonum-fpnum--base AGaramondPro-Semibold "AutoEnc_t7l7ndzlifcadu7ozfg6mlufeb ReEncodeFont" <[a_t7l7nd.enc <AGaramondPro-Semibold.pfb
LY1--AGaramondPro-Semibold--fsmcp-fonum-fpnum--lcdfj AGaramondPro-SemiboldLCDFJ "" <AGaramondPro-SemiboldLCDFJ.pfb
I had to round some heights by 18.5000000 units.
I had to round some depths by 5.5000000 units.
I had to round some heights by 18.5000000 units.
I had to round some depths by 5.5000000 units.
LY1--AGaramondPro-Semibold--fsmcp-fonum-fpnum--base AGaramondPro-Semibold "AutoEnc_so32vdqbpso2czh2sgdjdo6doc ReEncodeFont" <[a_so32vd.enc <AGaramondPro-Semibold.pfb
LY1--AGaramondPro-Semibold--fc2sc-fsmcp-fonum-fpnum--lcdfj AGaramondPro-SemiboldLCDFJ "" <AGaramondPro-SemiboldLCDFJ.pfb
I had to round some heights by 17.5000000 units.
I had to round some depths by 5.0000000 units.
I had to round some heights by 17.5000000 units.
I had to round some depths by 5.0000000 units.
LY1--AGaramondPro-Semibold--fc2sc-fsmcp-fonum-fpnum--base AGaramondPro-Semibold "AutoEnc_saay2yy4ezhwqwedbyomddmcpf ReEncodeFont" <[a_saay2y.enc <AGaramondPro-Semibold.pfb
pmjdebruijn@carnifex:~/opentype/generated/adobe/garamond$ 



[-- Attachment #3: Type: text/plain, Size: 487 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2007-08-12 17:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-12 17:12 Pascal de Bruijn [this message]
2007-08-12 17:34 ` Patrick Gundlach
2007-08-12 18:28   ` Pascal de Bruijn
2007-08-12 17:45 ` Hans Hagen
2007-08-12 18:56   ` Pascal de Bruijn
2007-08-12 19:12     ` Hans Hagen
2007-08-13 16:03       ` Pascal de Bruijn

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=1186938744.8713.10.camel@carnifex \
    --to=pmjdebruijn@gmail.com \
    --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).