| 1 |
%% |
| 2 |
%% This is file `fontscripts-dotscmisc.mtx', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% fontscripts.dtx (with options: `dotscmisc') |
| 8 |
%% |
| 9 |
%% Additions and changes Copyright (C) 2008-2025 Clea F. Rees. |
| 10 |
%% Code from fontinst Copyright (C) 2002 Alan Jeffrey and Sebastian |
| 11 |
%% Rahtz and Ulrik Vieth and Lars Hellström (see below) (see below) |
| 12 |
%% |
| 13 |
%% This work may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either version 1.3c |
| 15 |
%% of this license or (at your option) any later version. |
| 16 |
%% The latest version of this license is in |
| 17 |
%% https://www.latex-project.org/lppl.txt |
| 18 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 19 |
%% version 2008-05-04 or later. |
| 20 |
%% |
| 21 |
%% This work has the LPPL maintenance status `maintained'. |
| 22 |
%% |
| 23 |
%% The Current Maintainer of this work is Clea F. Rees. |
| 24 |
%% |
| 25 |
%% This work consists of all files listed in manifest.txt. |
| 26 |
%% |
| 27 |
%% The metrics file fontscripts-dotscmisc.mtx is a derived work under the terms of the LPPL. |
| 28 |
%% It is based on lsmisc.mtx from fontinst. A copy of fontinst |
| 29 |
%% including a copy of lsmisc.mtx is available from |
| 30 |
%% https://www.ctan.org/pkg/fontinst. See lsmisc.mtx for commentary. |
| 31 |
%% |
| 32 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 33 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 34 |
\relax |
| 35 |
|
| 36 |
\metrics |
| 37 |
|
| 38 |
\needsfontinstversion{1.917} |
| 39 |
|
| 40 |
\ProvidesMtxPackage{dotscmisc} |
| 41 |
|
| 42 |
\ifisglyph{i.sc}\then |
| 43 |
\setglyph{dotlessi.sc} |
| 44 |
\glyph{i.sc}{1000} |
| 45 |
\setleftrightkerning{dotlessi.sc}{i.sc}{1000} |
| 46 |
\endsetglyph |
| 47 |
\Fi |
| 48 |
|
| 49 |
\ifisglyph{j.sc}\then |
| 50 |
\setglyph{dotlessj.sc} |
| 51 |
\glyph{j.sc}{1000} |
| 52 |
\setleftrightkerning{dotlessj.sc}{j.sc}{1000} |
| 53 |
\endsetglyph |
| 54 |
\Fi |
| 55 |
|
| 56 |
\setint{smallcapsspacing}{0} |
| 57 |
|
| 58 |
\ifisglyph{f.sc}\then |
| 59 |
|
| 60 |
\setglyph{ff.sc} |
| 61 |
\glyph{f.sc}{1000} |
| 62 |
\movert{\add{\kerning{f.sc}{f.sc}}{\int{smallcapsspacing}}} |
| 63 |
\glyph{f.sc}{1000} |
| 64 |
\endsetglyph |
| 65 |
\setrightkerning{ff.sc}{f.sc}{1000} |
| 66 |
\setglyph{f_f.sc} |
| 67 |
\glyph{ff.sc}{1000} |
| 68 |
\endsetglyph |
| 69 |
\setrightkerning{f_f.sc}{ff.sc}{1000} |
| 70 |
|
| 71 |
\ifisglyph{i.sc}\then |
| 72 |
\setglyph{fi.sc} |
| 73 |
\glyph{f.sc}{1000} |
| 74 |
\movert{\add{\kerning{f.sc}{i.sc}}{\int{smallcapsspacing}}} |
| 75 |
\glyph{i.sc}{1000} |
| 76 |
\endsetglyph |
| 77 |
|
| 78 |
\setrightkerning{fi.sc}{i.sc}{1000} |
| 79 |
|
| 80 |
\setglyph{f_i.sc} |
| 81 |
\glyph{fi.sc}{1000} |
| 82 |
\endsetglyph |
| 83 |
\setrightkerning{f_i.sc}{fi.sc}{1000} |
| 84 |
|
| 85 |
\setglyph{ffi.sc} |
| 86 |
\glyph{ff.sc}{1000} |
| 87 |
\movert{\add{\kerning{f.sc}{i.sc}}{\int{smallcapsspacing}}} |
| 88 |
\glyph{i.sc}{1000} |
| 89 |
\endsetglyph |
| 90 |
|
| 91 |
\setglyph{f_f_i.sc} |
| 92 |
\glyph{ffi.sc}{1000} |
| 93 |
\endsetglyph |
| 94 |
\setrightkerning{f_f_i.sc}{ffi.sc}{1000} |
| 95 |
|
| 96 |
\setrightkerning{ffi.sc}{i.sc}{1000} |
| 97 |
\fi |
| 98 |
|
| 99 |
\ifisglyph{l.sc}\then |
| 100 |
\setglyph{fl.sc} |
| 101 |
\glyph{f.sc}{1000} |
| 102 |
\movert{\add{\kerning{f.sc}{l.sc}}{\int{smallcapsspacing}}} |
| 103 |
\glyph{l.sc}{1000} |
| 104 |
\endsetglyph |
| 105 |
|
| 106 |
\setrightkerning{fl.sc}{l.sc}{1000} |
| 107 |
|
| 108 |
\setglyph{f_l.sc} |
| 109 |
\glyph{fl.sc}{1000} |
| 110 |
\endsetglyph |
| 111 |
\setrightkerning{f_l.sc}{fl.sc}{1000} |
| 112 |
|
| 113 |
\setglyph{ffl.sc} |
| 114 |
\glyph{ff.sc}{1000} |
| 115 |
\movert{\add{\kerning{f.sc}{l.sc}}{\int{smallcapsspacing}}} |
| 116 |
\glyph{l.sc}{1000} |
| 117 |
\endsetglyph |
| 118 |
|
| 119 |
\setrightkerning{ffl.sc}{l.sc}{1000} |
| 120 |
|
| 121 |
\setglyph{f_f_l.sc} |
| 122 |
\glyph{ffl.sc}{1000} |
| 123 |
\endsetglyph |
| 124 |
\setrightkerning{f_f_l.sc}{ffl.sc}{1000} |
| 125 |
|
| 126 |
\fi |
| 127 |
\fi % ifisglyph{f.sc} |
| 128 |
|
| 129 |
\ifareglyphs{i.sc,j.sc}\then |
| 130 |
\setglyph{ij.sc} |
| 131 |
\glyph{i.sc}{1000} |
| 132 |
\movert{\add{\kerning{i.sc}{j.sc}}{\int{smallcapsspacing}}} |
| 133 |
\glyph{j.sc}{1000} |
| 134 |
\endsetglyph |
| 135 |
\setrightkerning{ij.sc}{j.sc}{1000} |
| 136 |
\fi |
| 137 |
|
| 138 |
\ifisglyph{ss.sc}\then |
| 139 |
\setglyph{germandbls.sc} |
| 140 |
\glyph{ss.sc}{1000} |
| 141 |
\endsetglyph |
| 142 |
\setleftrightkerning{germandbls.sc}{ss.sc}{1000} |
| 143 |
\Else |
| 144 |
\ifisglyph{s.sc}\then |
| 145 |
\setglyph{germandbls.sc} |
| 146 |
\glyph{s.sc}{1000} |
| 147 |
\movert{\add{\kerning{s.sc}{s.sc}}{\int{smallcapsspacing}}} |
| 148 |
\glyph{s.sc}{1000} |
| 149 |
\endsetglyph |
| 150 |
\setleftrightkerning{germandbls.sc}{s.sc}{1000} |
| 151 |
\Fi |
| 152 |
\Fi |
| 153 |
|
| 154 |
\endmetrics |
| 155 |
\endinput |
| 156 |
%% |
| 157 |
%% End of file `fontscripts-dotscmisc.mtx'. |