| 1 |
% pazofnst.tex |
| 2 |
% (part of the mathpazo package, by Diego Puga) |
| 3 |
% |
| 4 |
% Fontinst script |
| 5 |
% to create virtual math fonts suitable for Palatino |
| 6 |
% using the Pazo fonts |
| 7 |
% Builds on a fontinst script by Walter Schmidt for the mathpple package |
| 8 |
% |
| 9 |
\input fontinst.sty |
| 10 |
% |
| 11 |
\needsfontinstversion{1.914} |
| 12 |
% |
| 13 |
% Font transformations |
| 14 |
% Adobe Palatino |
| 15 |
\recordtransforms{mapppl.tex} |
| 16 |
\transformfont{pplr8r}{\reencodefont{8r}{\fromafm{pplr8a}}} |
| 17 |
\transformfont{pplri8r}{\reencodefont{8r}{\fromafm{pplri8a}}} |
| 18 |
\transformfont{pplb8r}{\reencodefont{8r}{\fromafm{pplb8a}}} |
| 19 |
\transformfont{pplbi8r}{\reencodefont{8r}{\fromafm{pplbi8a}}} |
| 20 |
\endrecordtransforms |
| 21 |
% Pazo |
| 22 |
\recordtransforms{mapfplm.tex} |
| 23 |
\fromafm{fplmr} |
| 24 |
\fromafm{fplmri} |
| 25 |
\fromafm{fplmb} |
| 26 |
\fromafm{fplmbi} |
| 27 |
\fromafm{fplmbb} |
| 28 |
\endrecordtransforms |
| 29 |
% |
| 30 |
% Raw Pazo |
| 31 |
\installfonts |
| 32 |
\installfamily{U}{fplm}{} |
| 33 |
\installfontas{fplmr} |
| 34 |
{U}{fplm}{m}{n}{} |
| 35 |
\installfontas{fplmri} |
| 36 |
{U}{fplm}{m}{it}{} |
| 37 |
\installfontas{fplmb} |
| 38 |
{U}{fplm}{b}{n}{} |
| 39 |
\installfontas{fplmbi} |
| 40 |
{U}{fplm}{b}{it}{} |
| 41 |
\endinstallfonts |
| 42 |
% |
| 43 |
% Virtual math fonts for Palatino: zplm |
| 44 |
\recordtransforms{mapzplm.tex} |
| 45 |
\installfonts |
| 46 |
% Make math less tight: |
| 47 |
\setint{letterspacing}{25} |
| 48 |
% Install operators, letters, symbols, and large symbols |
| 49 |
\installfamily{OT1}{zplm}{} |
| 50 |
\installfamily{OML}{zplm}{\skewchar\font=127} |
| 51 |
\installfamily{OMS}{zplm}{\skewchar\font=48} |
| 52 |
\installfamily{OMX}{zplm}{} |
| 53 |
% The `operators' font: |
| 54 |
% latin from Palatino Roman |
| 55 |
% greek and dotless j from Pazo |
| 56 |
% + = () [] from CM Roman, scaled 1042 |
| 57 |
\installfont{zplmr7t} |
| 58 |
{pplr8r,nokernum,fplmr,latin, |
| 59 |
unsetpl4cm,kernoff,cmr10 scaled 1042} |
| 60 |
{OT1}{OT1}{zplm}{m}{n}{} |
| 61 |
% The `letters' font: |
| 62 |
% greek and partialdiff from Pazo |
| 63 |
% latin from Palatino Italic |
| 64 |
% dotless j from Pazo |
| 65 |
% comma and period from Palatino Roman |
| 66 |
% everything else from CM Math Italic, scaled 1042 |
| 67 |
\installfont{zplmr7m} |
| 68 |
{fplmri,kernoff,cmmi10 scaled 1042,kernon, |
| 69 |
unsetalf,pplri8r,fplmri,unsetpunct, |
| 70 |
unsetnum,unsetosf,pplr8r,resetosf,nokernum,haxzplmr} |
| 71 |
{OML}{OML}{zplm}{m}{it}{} |
| 72 |
% The `symbols' font: |
| 73 |
% section, dagger, daggerdbl and paragraph from Palatino Roman |
| 74 |
% infinity, proportional and emptysetstress from Pazo |
| 75 |
% everything else from CM Symbol, scaled 1042 |
| 76 |
\installfont{zplmr7y} |
| 77 |
{cmsy10 scaled 1042,unsetcm4pl,pplr8r,fplmr,omsnames} |
| 78 |
{OMS}{OMS}{zplm}{m}{n}{} |
| 79 |
% The `large symbols': |
| 80 |
% delimiters and roots from cmex10 |
| 81 |
% \sum, \prod, and \coprod from Pazo |
| 82 |
% big operators from cmex10, scaled 900 |
| 83 |
% except for integraltext and contintegraltext, scaled 1042 |
| 84 |
\installfont{zplmr7v} |
| 85 |
{fplmr,zplmsum,cmex10,zplmbgop,cmex10 scaled 900, |
| 86 |
unsetint,cmex10 scaled 1042} |
| 87 |
{OMX}{OMX}{zplm}{m}{n}{} |
| 88 |
% The `operators' font, bold: |
| 89 |
\installfont{zplmb7t} |
| 90 |
{pplb8r,fplmb,nokernum,latin, |
| 91 |
unsetpl4cm,kernoff,cmbx10 scaled 1042} |
| 92 |
{OT1}{OT1}{zplm}{b}{n}{} |
| 93 |
% The `letters' font, bold: |
| 94 |
\installfont{zplmb7m} |
| 95 |
{fplmbi,kernoff,cmmib10 scaled 1042,kernon, |
| 96 |
unsetalf,pplbi8r,fplmbi,unsetpunct, |
| 97 |
unsetnum,unsetosf,pplb8r,resetosf,nokernum,haxzplmb} |
| 98 |
{OML}{OML}{zplm}{b}{it}{} |
| 99 |
% The `symbols' font, bold: |
| 100 |
\installfont{zplmb7y} |
| 101 |
{cmbsy10 scaled 1042,unsetcm4pl,pplb8r,fplmb,omsnames} |
| 102 |
{OMS}{OMS}{zplm}{b}{n}{} |
| 103 |
% (no bold `large symbols') |
| 104 |
\endinstallfonts |
| 105 |
% |
| 106 |
% Partial blackboard bold from Pazo |
| 107 |
\installfonts |
| 108 |
\installfamily{OT1}{fplmbb}{} |
| 109 |
\installfamily{T1}{fplmbb}{} |
| 110 |
\installrawfont{fplmbb} |
| 111 |
{fplmbb} |
| 112 |
{OT1}{OT1}{fplmbb}{m}{n}{} |
| 113 |
\installrawfont{fplmbb} |
| 114 |
{fplmbb} |
| 115 |
{T1}{T1}{fplmbb}{m}{n}{} |
| 116 |
\endinstallfonts |
| 117 |
\endrecordtransforms |
| 118 |
% |
| 119 |
% Write map files |
| 120 |
\input finstmsc.sty |
| 121 |
\AssumeMetafont % Ignore entries for CM |
| 122 |
\resetstr{PSfontsuffix}{.pfb} |
| 123 |
\adddriver{dvips}{pazoppl.map} |
| 124 |
\input mapppl.tex |
| 125 |
\input mapfplm.tex |
| 126 |
\input mapzplm.tex |
| 127 |
\donedrivers |
| 128 |
\adddriver{dvips}{pazoupl.map} |
| 129 |
\storemapdata{pplr8a}{\fromafm{uplr8a}{URWPalladioL-Roma}}{\reencodefont{8r}} |
| 130 |
\storemapdata{pplri8a}{\fromafm{uplri8a}{URWPalladioL-Ital}}{\reencodefont{8r}} |
| 131 |
\storemapdata{pplb8a}{\fromafm{uplb8a}{URWPalladioL-Bold}}{\reencodefont{8r}} |
| 132 |
\storemapdata{pplbi8a}{\fromafm{uplbi8a}{URWPalladioL-BoldItal}}{\reencodefont{8r}} |
| 133 |
\input mapfplm.tex |
| 134 |
\input mapzplm.tex |
| 135 |
\donedrivers |
| 136 |
\adddriver{dvips}{pazo.map} |
| 137 |
\input mapfplm.tex |
| 138 |
\makemapentry{fplmr} |
| 139 |
\makemapentry{fplmri} |
| 140 |
\makemapentry{fplmb} |
| 141 |
\makemapentry{fplmbi} |
| 142 |
\makemapentry{fplmbb} |
| 143 |
\donedrivers |
| 144 |
% |
| 145 |
\bye |