From ae496a1c963576dfe63885afa818b2af745ed44a Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 27 Apr 2020 03:03:41 +0000
Subject: CTAN sync 202004270303

---
 fonts/sourcesanspro/tex/LY1SourceSansPro-Sup.fd | 181 ++++++++++++++++++++----
 1 file changed, 150 insertions(+), 31 deletions(-)

(limited to 'fonts/sourcesanspro/tex/LY1SourceSansPro-Sup.fd')

diff --git a/fonts/sourcesanspro/tex/LY1SourceSansPro-Sup.fd b/fonts/sourcesanspro/tex/LY1SourceSansPro-Sup.fd
index c24ae17f8c..dc294f8e71 100644
--- a/fonts/sourcesanspro/tex/LY1SourceSansPro-Sup.fd
+++ b/fonts/sourcesanspro/tex/LY1SourceSansPro-Sup.fd
@@ -1,7 +1,15 @@
-%% Generated by autoinst on 2016/12/03
+%% Generated by autoinst on 2020/01/19
 %%
 \ProvidesFile{LY1SourceSansPro-Sup.fd}
-    [2016/12/03 (autoinst)  Font definitions for LY1/SourceSansPro-Sup.]
+    [2020/01/19 (autoinst)  Font definitions for LY1/SourceSansPro-Sup.]
+
+\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 SourceSansPro@scale\endcsname\relax
     \let\SourceSansPro@@scale\@empty
@@ -11,86 +19,197 @@
 
 \DeclareFontFamily{LY1}{SourceSansPro-Sup}{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{k}{n}{
+
+%   ----  bold  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{bold}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-BoldIt-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{bold}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Bold-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{bold}{sl}{
+      <-> ssub * SourceSansPro-Sup/bold/it
+}{}
+
+
+%   ----  black  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{black}{n}{
       <-> \SourceSansPro@@scale SourceSansPro-Black-sup-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{k}{it}{
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{black}{it}{
       <-> \SourceSansPro@@scale SourceSansPro-BlackIt-sup-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{k}{sl}{
-      <-> ssub * SourceSansPro-Sup/k/it
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{black}{sl}{
+      <-> ssub * SourceSansPro-Sup/black/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{l}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Light-sup-ly1
+
+%   ----  extralight  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{extralight}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-ExtraLight-sup-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{l}{it}{
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{extralight}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-ExtraLightIt-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{extralight}{sl}{
+      <-> ssub * SourceSansPro-Sup/extralight/it
+}{}
+
+
+%   ----  light  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{light}{it}{
       <-> \SourceSansPro@@scale SourceSansPro-LightIt-sup-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{l}{sl}{
-      <-> ssub * SourceSansPro-Sup/l/it
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{light}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Light-sup-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{sb}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Semibold-sup-ly1
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{light}{sl}{
+      <-> ssub * SourceSansPro-Sup/light/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{sb}{it}{
+
+%   ----  semibold  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{semibold}{it}{
       <-> \SourceSansPro@@scale SourceSansPro-SemiboldIt-sup-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{sb}{sl}{
-      <-> ssub * SourceSansPro-Sup/sb/it
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{semibold}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Semibold-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{semibold}{sl}{
+      <-> ssub * SourceSansPro-Sup/semibold/it
 }{}
 
+
+%   ----  regular  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{regular}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Regular-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{regular}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-It-sup-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{regular}{sl}{
+      <-> ssub * SourceSansPro-Sup/regular/it
+}{}
+
+%
+%  Extra 'alias' rules to map the standard NFSS codes to our fancy names
+%
+
+%   el --> extralight
+
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{el}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-ExtraLight-sup-ly1
+      <-> alias * SourceSansPro-Sup/extralight/n
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{el}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-ExtraLightIt-sup-ly1
+      <-> alias * SourceSansPro-Sup/extralight/it
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{el}{sl}{
-      <-> ssub * SourceSansPro-Sup/el/it
+      <-> alias * SourceSansPro-Sup/extralight/sl
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{b}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Bold-sup-ly1
+
+%   l --> light
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{l}{n}{
+      <-> alias * SourceSansPro-Sup/light/n
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{b}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-BoldIt-sup-ly1
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{l}{it}{
+      <-> alias * SourceSansPro-Sup/light/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{b}{sl}{
-      <-> ssub * SourceSansPro-Sup/b/it
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{l}{sl}{
+      <-> alias * SourceSansPro-Sup/light/sl
 }{}
 
+
+%   m --> regular
+
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{m}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Regular-sup-ly1
+      <-> alias * SourceSansPro-Sup/regular/n
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{m}{sl}{
+      <-> alias * SourceSansPro-Sup/regular/sl
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{m}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-It-sup-ly1
+      <-> alias * SourceSansPro-Sup/regular/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{m}{sl}{
-      <-> ssub * SourceSansPro-Sup/m/it
+
+%   sb --> semibold
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{sb}{sl}{
+      <-> alias * SourceSansPro-Sup/semibold/sl
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-Sup}{bx}{sl}{
-      <-> ssub * SourceSansPro-Sup/b/sl
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{sb}{it}{
+      <-> alias * SourceSansPro-Sup/semibold/it
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{sb}{n}{
+      <-> alias * SourceSansPro-Sup/semibold/n
+}{}
+
+
+%   b --> bold
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{b}{n}{
+      <-> alias * SourceSansPro-Sup/bold/n
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{b}{it}{
+      <-> alias * SourceSansPro-Sup/bold/it
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{b}{sl}{
+      <-> alias * SourceSansPro-Sup/bold/sl
+}{}
+
+
+%   eb --> black
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{eb}{n}{
+      <-> alias * SourceSansPro-Sup/black/n
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{eb}{it}{
+      <-> alias * SourceSansPro-Sup/black/it
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{eb}{sl}{
+      <-> alias * SourceSansPro-Sup/black/sl
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{bx}{n}{
       <-> ssub * SourceSansPro-Sup/b/n
 }{}
 
+\DeclareFontShape{LY1}{SourceSansPro-Sup}{bx}{sl}{
+      <-> ssub * SourceSansPro-Sup/b/sl
+}{}
+
 \DeclareFontShape{LY1}{SourceSansPro-Sup}{bx}{it}{
       <-> ssub * SourceSansPro-Sup/b/it
 }{}
-- 
cgit v1.2.3

