summaryrefslogtreecommitdiff
path: root/fonts/forum/latex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/forum/latex')
-rw-r--r--fonts/forum/latex/LY1Forum-LF.fd57
-rw-r--r--fonts/forum/latex/OT1Forum-LF.fd57
-rw-r--r--fonts/forum/latex/T1Forum-LF.fd57
-rw-r--r--fonts/forum/latex/T2AForum-LF.fd57
-rw-r--r--fonts/forum/latex/T2BForum-LF.fd57
-rw-r--r--fonts/forum/latex/T2CForum-LF.fd57
-rw-r--r--fonts/forum/latex/TS1Forum-LF.fd57
-rw-r--r--fonts/forum/latex/forum.sty39
8 files changed, 8 insertions, 430 deletions
diff --git a/fonts/forum/latex/LY1Forum-LF.fd b/fonts/forum/latex/LY1Forum-LF.fd
deleted file mode 100644
index d923a4ff06..0000000000
--- a/fonts/forum/latex/LY1Forum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{LY1Forum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for LY1/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{LY1}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{LY1}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-ly1
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{LY1}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-ly1
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{LY1}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{LY1}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{LY1}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/OT1Forum-LF.fd b/fonts/forum/latex/OT1Forum-LF.fd
deleted file mode 100644
index da216f5ab3..0000000000
--- a/fonts/forum/latex/OT1Forum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{OT1Forum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for OT1/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{OT1}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{OT1}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-ot1
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{OT1}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-ot1
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{OT1}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{OT1}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{OT1}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/T1Forum-LF.fd b/fonts/forum/latex/T1Forum-LF.fd
deleted file mode 100644
index e933484035..0000000000
--- a/fonts/forum/latex/T1Forum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{T1Forum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for T1/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{T1}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{T1}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-t1
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{T1}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-t1
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{T1}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{T1}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{T1}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/T2AForum-LF.fd b/fonts/forum/latex/T2AForum-LF.fd
deleted file mode 100644
index 5ab4820300..0000000000
--- a/fonts/forum/latex/T2AForum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{T2AForum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for T2A/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{T2A}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{T2A}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-t2a
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{T2A}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-t2a
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{T2A}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{T2A}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{T2A}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/T2BForum-LF.fd b/fonts/forum/latex/T2BForum-LF.fd
deleted file mode 100644
index ee8b0d789f..0000000000
--- a/fonts/forum/latex/T2BForum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{T2BForum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for T2B/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{T2B}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{T2B}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-t2b
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{T2B}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-t2b
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{T2B}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{T2B}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{T2B}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/T2CForum-LF.fd b/fonts/forum/latex/T2CForum-LF.fd
deleted file mode 100644
index 47243d36cb..0000000000
--- a/fonts/forum/latex/T2CForum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{T2CForum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for T2C/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{T2C}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{T2C}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-t2c
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{T2C}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-t2c
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{T2C}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{T2C}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{T2C}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/TS1Forum-LF.fd b/fonts/forum/latex/TS1Forum-LF.fd
deleted file mode 100644
index ba7833cb19..0000000000
--- a/fonts/forum/latex/TS1Forum-LF.fd
+++ /dev/null
@@ -1,57 +0,0 @@
-%% Generated by autoinst on 2019/12/17
-%%
-\ProvidesFile{TS1Forum-LF.fd}
- [2019/12/17 (autoinst) Font definitions for TS1/Forum-LF.]
-
-\ifcsname s@fct@alias\endcsname\else
-\gdef\s@fct@alias{\sub@sfcnt\@font@aliasinfo}
-\gdef\@font@aliasinfo#1{%
- \@font@info{Font\space shape\space `\curr@fontshape'\space will
- \space be\space aliased\MessageBreak to\space `\mandatory@arg'}%
-}
-\fi
-
-\expandafter\ifx\csname Forum@scale\endcsname\relax
- \let\Forum@@scale\@empty
-\else
- \edef\Forum@@scale{s*[\csname Forum@scale\endcsname]}%
-\fi
-
-\DeclareFontFamily{TS1}{Forum-LF}{}
-
-
-% ---- regular ----
-
-\DeclareFontShape{TS1}{Forum-LF}{regular}{n}{
- <-> \Forum@@scale Forum-lf-ts1
-}{}
-
-
-% ---- bold ----
-
-\DeclareFontShape{TS1}{Forum-LF}{bold}{n}{
- <-> \Forum@@scale Forum-Bold-lf-ts1
-}{}
-
-%
-% Extra 'alias' rules to map the standard NFSS codes to our fancy names
-%
-
-% m --> regular
-
-\DeclareFontShape{TS1}{Forum-LF}{m}{n}{
- <-> alias * Forum-LF/regular/n
-}{}
-
-
-% b --> bold
-
-\DeclareFontShape{TS1}{Forum-LF}{b}{n}{
- <-> alias * Forum-LF/bold/n
-}{}
-
-\DeclareFontShape{TS1}{Forum-LF}{bx}{n}{
- <-> ssub * Forum-LF/b/n
-}{}
-
-\endinput
diff --git a/fonts/forum/latex/forum.sty b/fonts/forum/latex/forum.sty
index ee525ac08b..9c83728fe9 100644
--- a/fonts/forum/latex/forum.sty
+++ b/fonts/forum/latex/forum.sty
@@ -1,33 +1,24 @@
\ProvidesPackage{forum}[%
- 2019/06/18 (Bob Tennent) Supports Forum font for all LaTeX engines. ]
+ 2020/07/25 (Bob Tennent) Supports Forum font for xeLaTeX and luaLaTeX. ]
-\RequirePackage{ifxetex,ifluatex,textcomp}
+\RequirePackage{iftex}
-\newif\ifforum@ttf
-\ifxetex
- \forum@ttftrue
-\else\ifluatex
- \forum@ttftrue
-\else % [pdf]LaTeX
- \forum@ttffalse
-\fi\fi
+\ifpdftex
+\PackageError{forum}{%
+ *****************************************\MessageBreak
+ Please process using XeLaTeX or luaLaTeX\MessageBreak
+ *****************************************}
+\fi
\newcommand*{\Forum@scale}{1}
\RequirePackage{xkeyval}
\DeclareOptionX{scaled}{\renewcommand*{\Forum@scale}{#1}}
\DeclareOptionX{scale}{\renewcommand*{\Forum@scale}{#1}}
-\DeclareOptionX{type1}{\forum@ttffalse}
-
\ProcessOptionsX\relax
-\ifforum@ttf
\RequirePackage{fontspec}
-\else
- \RequirePackage{fontenc,fontaxes,mweights}
-\fi
-\ifforum@ttf
\ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
@@ -35,29 +26,15 @@
}
\setmainfont
[ UprightFont = *-Regular ,
- BoldFont = *-Bold,
]
{Forum}
\newfontfamily\forum
[ UprightFont = *-Regular ,
- BoldFont = *-Bold,
]
{Forum}
-\else % type1
-
- \def\mdseries@rm{regular}
- \def\bfseries@rm{bold}
- \def\forumfamily{Forum-LF}
- \renewcommand*\rmdefault{\forumfamily}
- \newcommand*\forum{\fontfamily{\forumfamily}\selectfont}
-
-\fi
-
% turn off defaults in case other fonts are selected:
-\ifforum@ttf
\defaultfontfeatures{}
-\fi
\endinput