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/
[EMAIL PROTECTED]:~/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 [EMAIL PROTECTED]:~/opentype/generated/adobe/garamond$
___________________________________________________________________________________ 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 ___________________________________________________________________________________