From 4427294b9b94376955632103bc89a3691257ccc3 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 26 Apr 2020 21:32:33 +0000
Subject: sourcesanspro (26apr20)

git-svn-id: svn://tug.org/texlive/trunk@54892 c570f23f-e606-0410-a88d-b1316a301751
---
 .../latex/sourcesanspro/LY1SourceSansPro-TOsF.fd   | 227 +++++++++++++++++----
 1 file changed, 185 insertions(+), 42 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/sourcesanspro/LY1SourceSansPro-TOsF.fd')

diff --git a/Master/texmf-dist/tex/latex/sourcesanspro/LY1SourceSansPro-TOsF.fd b/Master/texmf-dist/tex/latex/sourcesanspro/LY1SourceSansPro-TOsF.fd
index b0f715e5d68..7b0aedea840 100644
--- a/Master/texmf-dist/tex/latex/sourcesanspro/LY1SourceSansPro-TOsF.fd
+++ b/Master/texmf-dist/tex/latex/sourcesanspro/LY1SourceSansPro-TOsF.fd
@@ -1,7 +1,15 @@
-%% Generated by autoinst on 2016/12/03
+%% Generated by autoinst on 2020/01/19
 %%
 \ProvidesFile{LY1SourceSansPro-TOsF.fd}
-    [2016/12/03 (autoinst)  Font definitions for LY1/SourceSansPro-TOsF.]
+    [2020/01/19 (autoinst)  Font definitions for LY1/SourceSansPro-TOsF.]
+
+\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,108 +19,235 @@
 
 \DeclareFontFamily{LY1}{SourceSansPro-TOsF}{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-BoldIt-tosf-ly1
+
+%   ----  black  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{black}{sc}{
+      <-> \SourceSansPro@@scale SourceSansPro-Black-tosf-sc-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{sc}{
-      <-> \SourceSansPro@@scale SourceSansPro-Bold-tosf-sc-ly1
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{black}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Black-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{n}{
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{black}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-BlackIt-tosf-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{black}{sl}{
+      <-> ssub * SourceSansPro-TOsF/black/it
+}{}
+
+
+%   ----  bold  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bold}{n}{
       <-> \SourceSansPro@@scale SourceSansPro-Bold-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{sl}{
-      <-> ssub * SourceSansPro-TOsF/b/it
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bold}{sc}{
+      <-> \SourceSansPro@@scale SourceSansPro-Bold-tosf-sc-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{it}{
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bold}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-BoldIt-tosf-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bold}{sl}{
+      <-> ssub * SourceSansPro-TOsF/bold/it
+}{}
+
+
+%   ----  regular  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{regular}{it}{
       <-> \SourceSansPro@@scale SourceSansPro-It-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{sc}{
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{regular}{sc}{
       <-> \SourceSansPro@@scale SourceSansPro-Regular-tosf-sc-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{n}{
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{regular}{n}{
       <-> \SourceSansPro@@scale SourceSansPro-Regular-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{sl}{
-      <-> ssub * SourceSansPro-TOsF/m/it
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{regular}{sl}{
+      <-> ssub * SourceSansPro-TOsF/regular/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{it}{
+
+%   ----  light  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{light}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Light-tosf-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{light}{sc}{
+      <-> \SourceSansPro@@scale SourceSansPro-Light-tosf-sc-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{light}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-LightIt-tosf-ly1
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{light}{sl}{
+      <-> ssub * SourceSansPro-TOsF/light/it
+}{}
+
+
+%   ----  extralight  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{extralight}{it}{
       <-> \SourceSansPro@@scale SourceSansPro-ExtraLightIt-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{n}{
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{extralight}{n}{
       <-> \SourceSansPro@@scale SourceSansPro-ExtraLight-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{sc}{
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{extralight}{sc}{
       <-> \SourceSansPro@@scale SourceSansPro-ExtraLight-tosf-sc-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{sl}{
-      <-> ssub * SourceSansPro-TOsF/el/it
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{extralight}{sl}{
+      <-> ssub * SourceSansPro-TOsF/extralight/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{k}{sc}{
-      <-> \SourceSansPro@@scale SourceSansPro-Black-tosf-sc-ly1
+
+%   ----  semibold  ----
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{semibold}{it}{
+      <-> \SourceSansPro@@scale SourceSansPro-SemiboldIt-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{k}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Black-tosf-ly1
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{semibold}{n}{
+      <-> \SourceSansPro@@scale SourceSansPro-Semibold-tosf-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{k}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-BlackIt-tosf-ly1
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{semibold}{sc}{
+      <-> \SourceSansPro@@scale SourceSansPro-Semibold-tosf-sc-ly1
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{k}{sl}{
-      <-> ssub * SourceSansPro-TOsF/k/it
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{semibold}{sl}{
+      <-> ssub * SourceSansPro-TOsF/semibold/it
+}{}
+
+%
+%  Extra 'alias' rules to map the standard NFSS codes to our fancy names
+%
+
+%   el --> extralight
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{n}{
+      <-> alias * SourceSansPro-TOsF/extralight/n
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{sc}{
+      <-> alias * SourceSansPro-TOsF/extralight/sc
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{sl}{
+      <-> alias * SourceSansPro-TOsF/extralight/sl
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{el}{it}{
+      <-> alias * SourceSansPro-TOsF/extralight/it
+}{}
+
+
+%   l --> light
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{l}{sl}{
+      <-> alias * SourceSansPro-TOsF/light/sl
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-TOsF}{l}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-LightIt-tosf-ly1
+      <-> alias * SourceSansPro-TOsF/light/it
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-TOsF}{l}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Light-tosf-ly1
+      <-> alias * SourceSansPro-TOsF/light/n
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-TOsF}{l}{sc}{
-      <-> \SourceSansPro@@scale SourceSansPro-Light-tosf-sc-ly1
+      <-> alias * SourceSansPro-TOsF/light/sc
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{l}{sl}{
-      <-> ssub * SourceSansPro-TOsF/l/it
+
+%   m --> regular
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{it}{
+      <-> alias * SourceSansPro-TOsF/regular/it
 }{}
 
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{sl}{
+      <-> alias * SourceSansPro-TOsF/regular/sl
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{sc}{
+      <-> alias * SourceSansPro-TOsF/regular/sc
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{m}{n}{
+      <-> alias * SourceSansPro-TOsF/regular/n
+}{}
+
+
+%   sb --> semibold
+
 \DeclareFontShape{LY1}{SourceSansPro-TOsF}{sb}{it}{
-      <-> \SourceSansPro@@scale SourceSansPro-SemiboldIt-tosf-ly1
+      <-> alias * SourceSansPro-TOsF/semibold/it
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{sb}{n}{
-      <-> \SourceSansPro@@scale SourceSansPro-Semibold-tosf-ly1
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{sb}{sl}{
+      <-> alias * SourceSansPro-TOsF/semibold/sl
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-TOsF}{sb}{sc}{
-      <-> \SourceSansPro@@scale SourceSansPro-Semibold-tosf-sc-ly1
+      <-> alias * SourceSansPro-TOsF/semibold/sc
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{sb}{sl}{
-      <-> ssub * SourceSansPro-TOsF/sb/it
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{sb}{n}{
+      <-> alias * SourceSansPro-TOsF/semibold/n
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bx}{sl}{
-      <-> ssub * SourceSansPro-TOsF/b/sl
+
+%   b --> bold
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{sl}{
+      <-> alias * SourceSansPro-TOsF/bold/sl
 }{}
 
-\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bx}{it}{
-      <-> ssub * SourceSansPro-TOsF/b/it
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{it}{
+      <-> alias * SourceSansPro-TOsF/bold/it
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{n}{
+      <-> alias * SourceSansPro-TOsF/bold/n
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{b}{sc}{
+      <-> alias * SourceSansPro-TOsF/bold/sc
+}{}
+
+
+%   eb --> black
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{eb}{sc}{
+      <-> alias * SourceSansPro-TOsF/black/sc
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{eb}{n}{
+      <-> alias * SourceSansPro-TOsF/black/n
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{eb}{it}{
+      <-> alias * SourceSansPro-TOsF/black/it
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{eb}{sl}{
+      <-> alias * SourceSansPro-TOsF/black/sl
 }{}
 
 \DeclareFontShape{LY1}{SourceSansPro-TOsF}{bx}{sc}{
@@ -123,4 +258,12 @@
       <-> ssub * SourceSansPro-TOsF/b/n
 }{}
 
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bx}{it}{
+      <-> ssub * SourceSansPro-TOsF/b/it
+}{}
+
+\DeclareFontShape{LY1}{SourceSansPro-TOsF}{bx}{sl}{
+      <-> ssub * SourceSansPro-TOsF/b/sl
+}{}
+
 \endinput
-- 
cgit v1.2.3

