diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/dsserif/source |
Initial commit
Diffstat (limited to 'fonts/dsserif/source')
-rw-r--r-- | fonts/dsserif/source/DSSerif-drv.tex | 18 | ||||
-rw-r--r-- | fonts/dsserif/source/adjustments.mtx | 33 | ||||
-rw-r--r-- | fonts/dsserif/source/mathalfij.etx | 95 | ||||
-rw-r--r-- | fonts/dsserif/source/mathalfijB.etx | 95 | ||||
-rw-r--r-- | fonts/dsserif/source/notes.txt | 27 |
5 files changed, 268 insertions, 0 deletions
diff --git a/fonts/dsserif/source/DSSerif-drv.tex b/fonts/dsserif/source/DSSerif-drv.tex new file mode 100644 index 0000000000..d8f4ebaeae --- /dev/null +++ b/fonts/dsserif/source/DSSerif-drv.tex @@ -0,0 +1,18 @@ +% !TEX TS-program = tex +\input fontinst.sty + +\needsfontinstversion{1.933} +\afmtomtx{DSSerif}{DSSerif}{} +\afmtomtx{DSSerif-Bold}{DSSerif-Bold}{} + +\installfonts +\installfamily{U}{DSSerif}{\skewchar\font=45} +\installfont{DSSerif} + {DSSerif,adjustments} + {mathalfij}{U}{DSSerif}{m}{n}{} +\installfont{DSSerif-Bold} + {DSSerif-Bold,adjustments} + {mathalfijB}{U}{DSSerif}{b}{n}{} +\endinstallfonts + +\bye diff --git a/fonts/dsserif/source/adjustments.mtx b/fonts/dsserif/source/adjustments.mtx new file mode 100644 index 0000000000..02de106633 --- /dev/null +++ b/fonts/dsserif/source/adjustments.mtx @@ -0,0 +1,33 @@ +\relax + +\metrics + +\needsfontinstversion{1.933} + +\setcommand\skewkern#1#2{\resetkern{#1}{hyphen}{#2}} + +\skewkern{A}{-30} +\skewkern{C}{25} +\skewkern{E}{20} +\skewkern{G}{25} +\skewkern{J}{70} +\skewkern{K}{-20} +\skewkern{L}{20} +\skewkern{R}{-20} +\skewkern{U}{15} +\skewkern{V}{20} +\skewkern{W}{30} +\skewkern{Y}{25} +\skewkern{a}{20} +\skewkern{f}{40} +\skewkern{i}{-10} +\skewkern{j}{20} +\skewkern{k}{-20} +\skewkern{l}{-30} +\skewkern{t}{-40} +\skewkern{w}{40} +\skewkern{y}{20} +\skewkern{dotlessi}{-10} +\skewkern{dotlessj}{20} + +\endmetrics
\ No newline at end of file diff --git a/fonts/dsserif/source/mathalfij.etx b/fonts/dsserif/source/mathalfij.etx new file mode 100644 index 0000000000..92714b801a --- /dev/null +++ b/fonts/dsserif/source/mathalfij.etx @@ -0,0 +1,95 @@ +\relax + +\encoding + +\setstr{codingscheme}{TEX TEXT} +\setint{italicslant}{0} +\setint{xheight}{450} + + +\setint{fontdimen(1)}{\int{italicslant}} % italic slant +\setint{fontdimen(2)}{0} % interword space +\setint{fontdimen(3)}{0} % interword stretch +\setint{fontdimen(4)}{0} % interword shrink +\setint{fontdimen(5)}{\int{xheight}} % x-height +\setint{fontdimen(6)}{1000} % quad +\setint{fontdimen(7)}{0} % extra space after . + + +\nextslot{17} +\setslot{dotlessi}\endsetslot +\setslot{dotlessj}\endsetslot + +\nextslot{45} +\setslot{hyphen} + \comment{The skewchar.} +\endsetslot +\nextslot{48} +\setslot{zero}\endsetslot +\setslot{one}\endsetslot +\setslot{two}\endsetslot +\setslot{three}\endsetslot +\setslot{four}\endsetslot +\setslot{five}\endsetslot +\setslot{six}\endsetslot +\setslot{seven}\endsetslot +\setslot{eight}\endsetslot +\setslot{nine}\endsetslot +\nextslot{65} +\setslotcomment{The letter `\slotexample'.} + +\setslot{A}\endsetslot +\setslot{B}\endsetslot +\setslot{C}\endsetslot +\setslot{D}\endsetslot +\setslot{E}\endsetslot +\setslot{F}\endsetslot +\setslot{G}\endsetslot +\setslot{H}\endsetslot +\setslot{I}\endsetslot +\setslot{J}\endsetslot +\setslot{K}\endsetslot +\setslot{L}\endsetslot +\setslot{M}\endsetslot +\setslot{N}\endsetslot +\setslot{O}\endsetslot +\setslot{P}\endsetslot +\setslot{Q}\endsetslot +\setslot{R}\endsetslot +\setslot{S}\endsetslot +\setslot{T}\endsetslot +\setslot{U}\endsetslot +\setslot{V}\endsetslot +\setslot{W}\endsetslot +\setslot{X}\endsetslot +\setslot{Y}\endsetslot +\setslot{Z}\endsetslot +\nextslot{97} +\setslot{a}\endsetslot +\setslot{b}\endsetslot +\setslot{c}\endsetslot +\setslot{d}\endsetslot +\setslot{e}\endsetslot +\setslot{f}\endsetslot +\setslot{g}\endsetslot +\setslot{h}\endsetslot +\setslot{i}\endsetslot +\setslot{j}\endsetslot +\setslot{k}\endsetslot +\setslot{l}\endsetslot +\setslot{m}\endsetslot +\setslot{n}\endsetslot +\setslot{o}\endsetslot +\setslot{p}\endsetslot +\setslot{q}\endsetslot +\setslot{r}\endsetslot +\setslot{s}\endsetslot +\setslot{t}\endsetslot +\setslot{u}\endsetslot +\setslot{v}\endsetslot +\setslot{w}\endsetslot +\setslot{x}\endsetslot +\setslot{y}\endsetslot +\setslot{z}\endsetslot + +\endencoding diff --git a/fonts/dsserif/source/mathalfijB.etx b/fonts/dsserif/source/mathalfijB.etx new file mode 100644 index 0000000000..a2ec1dce9d --- /dev/null +++ b/fonts/dsserif/source/mathalfijB.etx @@ -0,0 +1,95 @@ +\relax + +\encoding + +\setstr{codingscheme}{TEX TEXT} +\setint{italicslant}{0} +\setint{xheight}{461} + + +\setint{fontdimen(1)}{\int{italicslant}} % italic slant +\setint{fontdimen(2)}{0} % interword space +\setint{fontdimen(3)}{0} % interword stretch +\setint{fontdimen(4)}{0} % interword shrink +\setint{fontdimen(5)}{\int{xheight}} % x-height +\setint{fontdimen(6)}{1000} % quad +\setint{fontdimen(7)}{0} % extra space after . + + +\nextslot{17} +\setslot{dotlessi}\endsetslot +\setslot{dotlessj}\endsetslot + +\nextslot{45} +\setslot{hyphen} + \comment{The skewchar.} +\endsetslot +\nextslot{48} +\setslot{zero}\endsetslot +\setslot{one}\endsetslot +\setslot{two}\endsetslot +\setslot{three}\endsetslot +\setslot{four}\endsetslot +\setslot{five}\endsetslot +\setslot{six}\endsetslot +\setslot{seven}\endsetslot +\setslot{eight}\endsetslot +\setslot{nine}\endsetslot +\nextslot{65} +\setslotcomment{The letter `\slotexample'.} + +\setslot{A}\endsetslot +\setslot{B}\endsetslot +\setslot{C}\endsetslot +\setslot{D}\endsetslot +\setslot{E}\endsetslot +\setslot{F}\endsetslot +\setslot{G}\endsetslot +\setslot{H}\endsetslot +\setslot{I}\endsetslot +\setslot{J}\endsetslot +\setslot{K}\endsetslot +\setslot{L}\endsetslot +\setslot{M}\endsetslot +\setslot{N}\endsetslot +\setslot{O}\endsetslot +\setslot{P}\endsetslot +\setslot{Q}\endsetslot +\setslot{R}\endsetslot +\setslot{S}\endsetslot +\setslot{T}\endsetslot +\setslot{U}\endsetslot +\setslot{V}\endsetslot +\setslot{W}\endsetslot +\setslot{X}\endsetslot +\setslot{Y}\endsetslot +\setslot{Z}\endsetslot +\nextslot{97} +\setslot{a}\endsetslot +\setslot{b}\endsetslot +\setslot{c}\endsetslot +\setslot{d}\endsetslot +\setslot{e}\endsetslot +\setslot{f}\endsetslot +\setslot{g}\endsetslot +\setslot{h}\endsetslot +\setslot{i}\endsetslot +\setslot{j}\endsetslot +\setslot{k}\endsetslot +\setslot{l}\endsetslot +\setslot{m}\endsetslot +\setslot{n}\endsetslot +\setslot{o}\endsetslot +\setslot{p}\endsetslot +\setslot{q}\endsetslot +\setslot{r}\endsetslot +\setslot{s}\endsetslot +\setslot{t}\endsetslot +\setslot{u}\endsetslot +\setslot{v}\endsetslot +\setslot{w}\endsetslot +\setslot{x}\endsetslot +\setslot{y}\endsetslot +\setslot{z}\endsetslot + +\endencoding diff --git a/fonts/dsserif/source/notes.txt b/fonts/dsserif/source/notes.txt new file mode 100644 index 0000000000..3f209549dd --- /dev/null +++ b/fonts/dsserif/source/notes.txt @@ -0,0 +1,27 @@ +Notes on generating or revising the support files for DDSerif, 05/01/2018 + +1. The basic font files are DSSerif.pfb, DSSerif-Bold.pfb, DSSerifUni.pfb, DSSerifUni-Bold.pfb, along with the corresponding afm files. + +2. The *Uni* files have only bare bones support, generated by + +afm2tfm DSSerifUni +afm2tfm DSSerifUni-Bold + +The generated tfm files contain no ligkern information, as these files are supposed to be used only in the construction of virtual fonts, the last stage of whose contruction will add the ligkern data. + +3. To regenerate the remaining support files with your modifications, follow the following steps. + +3a: Copy all files in the package source to a working directory, along with the two non "Uni" afm files. + +3b: Modify adjustments.mtx to specify new kerns that affect the positions of math accents. + +3c: Process the driver file: + +tex DSSerif-drv +vptovf DSSerif +vptovf DSSerif-Bold + +3d: Discard DSSerif.vf, DSSerif-Bold.vf and udsserif.fd. +You should not need to change the contents of DSSeif.map. + +3e: Move DSSerif.tfm and DSSerif-Bold.tfm into your tex heirarchy in a position that has priority over their position in the distribution.
\ No newline at end of file |