summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/arev/arevfontinst.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/arev/arevfontinst.tex')
-rw-r--r--Master/texmf-dist/source/fonts/arev/arevfontinst.tex46
1 files changed, 33 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/fonts/arev/arevfontinst.tex b/Master/texmf-dist/source/fonts/arev/arevfontinst.tex
index 1db655c58ae..3950059c8cd 100644
--- a/Master/texmf-dist/source/fonts/arev/arevfontinst.tex
+++ b/Master/texmf-dist/source/fonts/arev/arevfontinst.tex
@@ -5,7 +5,7 @@
% to create virtual math fonts from Arev Sans by Tavmjong Bah
\input fontinst.sty
-\input bbox.sty % bounding box info--for using kerning info to fix horizontal placement of math accents in kernaccents*.mtx
+%\input bbox.sty % bounding box info--for using kerning info to fix horizontal placement of math accents in kernaccents*.mtx
\needsfontinstversion{1.914}
@@ -14,7 +14,7 @@
\message{Running Arev Sans fontinst script.}
- Arev Sans (fav) for text
+% Arev Sans (fav) for text
\recordtransforms{mapfav.tex}
\transformfont{favr8r} {\reencodefont{8r}{\fromafm{ArevSans-Roman}}}
\transformfont{favri8r}{\reencodefont{8r}{\fromafm{ArevSans-Oblique}}}
@@ -44,7 +44,8 @@
% rename the glyph if it does not have second parameter \ok
\let\ok=donotrenamethisglyph
-\def\declareglyph#1#2%
+\let\nomacro=donotmakeamacrocommand
+\def\declareglyph#1#2#3#4%
{%
\def\temptesta{#2}%
\def\temptestb{\ok}%
@@ -64,23 +65,35 @@
\reglyphfonts
\input glyphlistot1.tex
\inputmtx{favmr7t}
- \def\thenewskewchar{Gamma}
+ \def\thenewskewchar{dieresis} % Using dieresis for skewchar
+ % setkern commands can be reglyphed, but resetkern and unsetkern commands cannot be.
+ % Thus, the skewchar chosen cannot have any pre-existing kerns.
+ % Accents are usually a safe bet, since they're for composing with other characters and do not appear as a character adjacent to other characters.
\reglyphfont{kernaccentsot1c}{kernaccentsot1}
\endreglyphfonts
+
\reglyphfonts
\input glyphlistot1.tex
\reglyphfont{favmb7tc}{favmb7t}
\endreglyphfonts
\reglyphfonts
+ \input glyphlistot1.tex
+ \inputmtx{favmr7t}
+ \def\thenewskewchar{dieresis}
+ \reglyphfont{kernaccentsot1boldc}{kernaccentsot1bold}
+\endreglyphfonts
+
+\reglyphfonts
\input glyphlistoml.tex
\reglyphfont{favmri7mc}{favmri7m}
\endreglyphfonts
\reglyphfonts
\input glyphlistoml.tex
\inputmtx{favmri7m}
- \def\thenewskewchar{uni0361}
+ \def\thenewskewchar{uni0361} % Using tie for skewchar
\reglyphfont{kernaccentsomlc}{kernaccentsoml}
\endreglyphfonts
+
\reglyphfonts
\input glyphlistoml.tex
\reglyphfont{favmbi7mc}{favmbi7m}
@@ -91,6 +104,7 @@
\def\thenewskewchar{uni0361}
\reglyphfont{kernaccentsomlboldc}{kernaccentsomlbold}
\endreglyphfonts
+
\reglyphfonts
\input glyphlistoms.tex
\reglyphfont{favmr7yc}{favmr7y}
@@ -104,8 +118,8 @@
\setint{letterspacing}{25} % makes math less tight
% Math fonts
-\installfamily{OT1}{zavm}{\skewchar\font=0} % the skewchar is set to Gamma
-\installfamily{OML}{zavm}{\skewchar\font=127}
+\installfamily{OT1}{zavm}{\skewchar\font=127} % the skewchar is set to dieresis
+\installfamily{OML}{zavm}{\skewchar\font=127} % the skewchar is set to tie
\installfamily{OMS}{zavm}{}
\installfamily{U} {zavm}{} % for extra symbols and nonstandard alternates
@@ -119,6 +133,7 @@
%fourier 39 -- no bold
%kerkis ktsy? 72:83 as kt:60 = 52
%arev plus width 60
+%MnSymbol??
% operators font
\installfont{zavmr7t}
@@ -127,18 +142,18 @@
{OT1}{zavm}{m}{n}{}
% operators font, bold
\installfont{zavmb7t}
- {favmb7tc,unsetot1symbols,fixot1accents,md-chb7t}
+ {favmb7tc,unsetot1symbols,fixot1accents,kernaccentsot1boldc,md-chb7t}
{ot1}
{OT1}{zavm}{b}{n}{}
% letters font
\installfont{zavmri7m}
- {favmri7mc,resetdotlessi,kernaccentsomlc,md-chb7m}
+ {favmri7mc,fixweierstrass,kernaccentsomlc,resetdotlessi,md-chb7m}
{oml}
{OML}{zavm}{m}{it}{}
% letters font, bold
\installfont{zavmbi7m}
- {favmbi7mc,resetdotlessi,kernaccentsomlc,md-chb7m}
+ {favmbi7mc,fixweierstrass,kernaccentsomlboldc,resetdotlessi,md-chb7m}
{oml}
{OML}{zavm}{b}{it}{}
@@ -160,12 +175,11 @@
{favmri7m}
{arevoml}
{U}{zavm}{m}{it}{}
-
+
\endinstallfonts
\endrecordtransforms
-
% Make map files
\input finstmsc.sty
\resetstr{PSfontsuffix}{.pfb} % otherwise uses .pfa
@@ -180,7 +194,13 @@
\input mapfav.tex
\input mapfavm.tex
-\input mapzavm.tex
+%\input mapzavm.tex % don't want to make dvips entries for mdbch, since they should already be installed
+\makemapentry{favmr7t}
+\makemapentry{favmb7t}
+\makemapentry{favmri7m}
+\makemapentry{favmbi7m}
+\makemapentry{favmr7y}
+
\donedrivers
\bye