ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* OpenType typescripts
@ 2007-08-12 17:12 Pascal de Bruijn
  2007-08-12 17:34 ` Patrick Gundlach
  2007-08-12 17:45 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Pascal de Bruijn @ 2007-08-12 17:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: OpenType typescripts
  2007-08-12 17:12 OpenType typescripts Pascal de Bruijn
@ 2007-08-12 17:34 ` Patrick Gundlach
  2007-08-12 18:28   ` Pascal de Bruijn
  2007-08-12 17:45 ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: Patrick Gundlach @ 2007-08-12 17:34 UTC (permalink / raw)
  To: ntg-context

Hi Pascal,


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

Does this help:

http://wiki.contextgarden.net/Font_Variants

?

Patrick
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: OpenType typescripts
  2007-08-12 17:12 OpenType typescripts Pascal de Bruijn
  2007-08-12 17:34 ` Patrick Gundlach
@ 2007-08-12 17:45 ` Hans Hagen
  2007-08-12 18:56   ` Pascal de Bruijn
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2007-08-12 17:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Pascal de Bruijn wrote:

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

if you want to to such things ... use xetex or luatex ... less work that 
way since then you can control things with features

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: OpenType typescripts
  2007-08-12 17:34 ` Patrick Gundlach
@ 2007-08-12 18:28   ` Pascal de Bruijn
  0 siblings, 0 replies; 7+ messages in thread
From: Pascal de Bruijn @ 2007-08-12 18:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 2007-08-12 at 19:34 +0200, Patrick Gundlach wrote:
> Hi Pascal,
> 
> 
> > How should I write my typescript so I can easily choose between the
> > versions of the fonts?
> 
> Does this help:
> 
> http://wiki.contextgarden.net/Font_Variants
> 

Hmm I think so. I'll give it a shot. Thanks.

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: OpenType typescripts
  2007-08-12 17:45 ` Hans Hagen
@ 2007-08-12 18:56   ` Pascal de Bruijn
  2007-08-12 19:12     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Pascal de Bruijn @ 2007-08-12 18:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 2007-08-12 at 19:45 +0200, Hans Hagen wrote:
> Pascal de Bruijn wrote:
> 
> > I generate two versions:
> > - tabular lining figures
> > - proportional old style figures
> 
> if you want to to such things ... use xetex or luatex ... less work that 
> way since then you can control things with features
> 

XeTeX isn't really an option since it's missing the microtype extensions
which is really do want.

I still haven't got LuaTeX running properly. Something I wonder about is
why all those installation instructions weren't executed before creating
the tarballs.

I understand this is a beta. But making the installation less complex
might get you more testers.

I should probably reread the docs, and put some more effort into it.

Regards,
Pascal de Bruijn

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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: OpenType typescripts
  2007-08-12 18:56   ` Pascal de Bruijn
@ 2007-08-12 19:12     ` Hans Hagen
  2007-08-13 16:03       ` Pascal de Bruijn
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2007-08-12 19:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Pascal de Bruijn wrote:

> I still haven't got LuaTeX running properly. Something I wonder about is
> why all those installation instructions weren't executed before creating
> the tarballs.

well, taco and i and a few others have mkiv running fro quite a while no 
(before it went beta) ... the problem is that we cannot foresee how 
users have set up their system

the biggest issue is that

(1) luatex needs a cache path and users may have conflicting demands
(2) luatex needs lua code to start up and therefore be ablt to find it

> I understand this is a beta. But making the installation less complex
> might get you more testers.

well, once it runt it runs ... tex has never been easy to install and we 
cannot change everything at once

> I should probably reread the docs, and put some more effort into it.

guess so

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: OpenType typescripts
  2007-08-12 19:12     ` Hans Hagen
@ 2007-08-13 16:03       ` Pascal de Bruijn
  0 siblings, 0 replies; 7+ messages in thread
From: Pascal de Bruijn @ 2007-08-13 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 2007-08-12 at 21:12 +0200, Hans Hagen wrote:
> Pascal de Bruijn wrote:
> 
> > I still haven't got LuaTeX running properly. Something I wonder about is
> > why all those installation instructions weren't executed before creating
> > the tarballs.
> 
> well, taco and i and a few others have mkiv running fro quite a while no 
> (before it went beta) ... the problem is that we cannot foresee how 
> users have set up their system

I understand... Hiring a psychic probably isn't an option. However if
you take a look at TeX live, you'll see that they just deliver almost
everything them selves... So why not include lua and lcdf-typetools
precompiled with ConTeXt. Have everything statically compiled so it'll
just work.

This isn't pretty... But it'll work...

> 
> the biggest issue is that
> 
> (1) luatex needs a cache path and users may have conflicting demands
> (2) luatex needs lua code to start up and therefore be ablt to find it
> 
> > I understand this is a beta. But making the installation less complex
> > might get you more testers.
> 
> well, once it runt it runs ... tex has never been easy to install and we 
> cannot change everything at once

True...

> 
> > I should probably reread the docs, and put some more effort into it.
> 
> guess so
> 



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

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-13 16:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-12 17:12 OpenType typescripts Pascal de Bruijn
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

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).