From ab72bdd179c9a64d43313beb199d0fdf7fef8c83 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 26 Jul 2020 03:02:17 +0000
Subject: CTAN sync 202007260302

---
 fonts/bitter/latex/bitter.sty | 40 +++++++++-------------------------------
 1 file changed, 9 insertions(+), 31 deletions(-)

(limited to 'fonts/bitter/latex/bitter.sty')

diff --git a/fonts/bitter/latex/bitter.sty b/fonts/bitter/latex/bitter.sty
index 1362c92640..b792ae6d1e 100644
--- a/fonts/bitter/latex/bitter.sty
+++ b/fonts/bitter/latex/bitter.sty
@@ -1,35 +1,26 @@
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{bitter}
-    [2019/05/10 (R.D. Tennent)  Supports Bitter fonts for all LaTeX engines.]
+    [200/07/25 (R.D. Tennent)  Supports Bitter fonts for xeLaTeX and luaLaTeX.]
 
-\RequirePackage{ifxetex,ifluatex,textcomp}
+\RequirePackage{iftex}
+
+\ifpdftex
+\PackageError{bitter}{%
+ *****************************************\MessageBreak
+  Please process using XeLaTeX or luaLaTeX\MessageBreak
+ *****************************************}
+\fi  
 
-\newif\ifBitter@ttf
-\ifxetex
-  \Bitter@ttftrue
-\else\ifluatex
-  \Bitter@ttftrue
-\else  % [pdf]LaTeX
-  \Bitter@ttffalse
-\fi\fi
 
 \newcommand*{\Bitter@scale}{1}  
 \RequirePackage{xkeyval}
 \DeclareOptionX{scaled}{\renewcommand*{\Bitter@scale}{#1}}
 \DeclareOptionX{scale}{\renewcommand*{\Bitter@scale}{#1}}
 
-\DeclareOptionX{type1}{\Bitter@ttffalse}
-
 \ProcessOptionsX\relax
 
-\ifBitter@ttf
   \RequirePackage{fontspec}
-\else
-  \RequirePackage{fontenc,fontaxes,mweights}
-\fi
 
-\ifBitter@ttf
-  \def\Bitter@regular{Regular}
   \ifxetex\XeTeXtracingfonts=1\fi
   \defaultfontfeatures{
      Ligatures = TeX ,
@@ -52,21 +43,8 @@
       ]
       {Bitter}
 
-\else % type1
-
-  \def\bfseries@rm{b}
-  \def\mdseries@rm{m}
-  \def\seriesdefault{\mdseries@rm}
-  \def\bitterfamily{Bitter-TLF}
-  \def\bitter{\fontfamily{\bitterfamily}\selectfont}
-  \def\rmdefault{\bitterfamily}
-
-\fi
-
 % turn off defaults in case other fonts are selected:
-\ifBitter@ttf
   \defaultfontfeatures{}
-\fi
 
 \endinput
 
-- 
cgit v1.2.3

