From e0e554f28ccb5ff16ccfbae8db39edddef21f08f Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 24 Jun 2013 23:44:24 +0000
Subject: cabin (24jun13)

git-svn-id: svn://tug.org/texlive/trunk@30908 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/cabin/T1Cabin-TLF.fd | 66 ++++++++++++++++++------
 1 file changed, 50 insertions(+), 16 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/cabin/T1Cabin-TLF.fd')

diff --git a/Master/texmf-dist/tex/latex/cabin/T1Cabin-TLF.fd b/Master/texmf-dist/tex/latex/cabin/T1Cabin-TLF.fd
index 6b2af0a1205..daf79a719de 100644
--- a/Master/texmf-dist/tex/latex/cabin/T1Cabin-TLF.fd
+++ b/Master/texmf-dist/tex/latex/cabin/T1Cabin-TLF.fd
@@ -11,23 +11,39 @@
 
 \DeclareFontFamily{T1}{Cabin-TLF}{}
 
-\DeclareFontShape{T1}{Cabin-TLF}{b}{sc}{
-      <-> \Cabin@@scale Cabin-Bold-tlf-sc-t1
+\DeclareFontShape{T1}{Cabin-TLF}{b}{sc}{ <-> \Cabin@@scale 
+\ifcabin@semibold
+  Cabin-SemiBold-tlf-sc-t1
+\else
+  Cabin-Bold-tlf-sc-t1
+\fi 
 }{}
 
-\DeclareFontShape{T1}{Cabin-TLF}{b}{n}{
-      <-> \Cabin@@scale Cabin-Bold-tlf-t1
+\DeclareFontShape{T1}{Cabin-TLF}{b}{n}{ <-> \Cabin@@scale 
+\ifcabin@semibold
+  Cabin-SemiBold-tlf-t1
+\else
+  Cabin-Bold-tlf-t1
+\fi
 }{}
 
-\DeclareFontShape{T1}{Cabin-TLF}{b}{it}{
-      <-> \Cabin@@scale Cabin-BoldItalic-tlf-t1
+\DeclareFontShape{T1}{Cabin-TLF}{b}{it}{ <-> \Cabin@@scale 
+\ifcabin@semibold
+  Cabin-SemiBoldItalic-tlf-t1
+\else
+  Cabin-BoldItalic-tlf-t1
+\fi
 }{}
 
 \DeclareFontShape{T1}{Cabin-TLF}{b}{sl}{
     <-> ssub * Cabin-TLF/b/it
 }{}
-\DeclareFontShape{T1}{Cabin-TLF}{b}{scit}{
-      <-> \Cabin@@scale Cabin-BoldItalic-tlf-sc-t1
+\DeclareFontShape{T1}{Cabin-TLF}{b}{scit}{ <-> \Cabin@@scale 
+\ifcabin@semibold
+  Cabin-SemiBoldItalic-tlf-sc-t1
+\else
+  Cabin-BoldItalic-tlf-sc-t1
+\fi
 }{}
 
 \DeclareFontShape{T1}{Cabin-TLF}{b}{scsl}{
@@ -55,6 +71,7 @@
 \DeclareFontShape{T1}{Cabin-TLF}{sb}{scsl}{
     <-> ssub * Cabin-TLF/sb/scit
 }{}
+
 \DeclareFontShape{T1}{Cabin-TLF}{mb}{sc}{
       <-> \Cabin@@scale Cabin-Medium-tlf-sc-t1
 }{}
@@ -77,23 +94,40 @@
 \DeclareFontShape{T1}{Cabin-TLF}{mb}{scsl}{
     <-> ssub * Cabin-TLF/mb/scit
 }{}
-\DeclareFontShape{T1}{Cabin-TLF}{m}{sc}{
-      <-> \Cabin@@scale Cabin-Regular-tlf-sc-t1
+
+\DeclareFontShape{T1}{Cabin-TLF}{m}{sc}{ <-> \Cabin@@scale 
+\ifcabin@medium
+  Cabin-Medium-tlf-sc-t1
+\else
+  Cabin-Regular-tlf-sc-t1
+\fi
 }{}
 
-\DeclareFontShape{T1}{Cabin-TLF}{m}{n}{
-      <-> \Cabin@@scale Cabin-Regular-tlf-t1
+\DeclareFontShape{T1}{Cabin-TLF}{m}{n}{ <-> \Cabin@@scale 
+\ifcabin@medium
+  Cabin-Medium-tlf-t1
+\else
+  Cabin-Regular-tlf-t1
+\fi
 }{}
 
-\DeclareFontShape{T1}{Cabin-TLF}{m}{it}{
-      <-> \Cabin@@scale Cabin-Italic-tlf-t1
+\DeclareFontShape{T1}{Cabin-TLF}{m}{it}{ <-> \Cabin@@scale 
+\ifcabin@medium
+  Cabin-MediumItalic-tlf-t1
+\else
+  Cabin-Italic-tlf-t1
+\fi
 }{}
 
 \DeclareFontShape{T1}{Cabin-TLF}{m}{sl}{
     <-> ssub * Cabin-TLF/m/it
 }{}
-\DeclareFontShape{T1}{Cabin-TLF}{m}{scit}{
-      <-> \Cabin@@scale Cabin-Italic-tlf-sc-t1
+\DeclareFontShape{T1}{Cabin-TLF}{m}{scit}{ <-> \Cabin@@scale 
+\ifcabin@medium
+  Cabin-MediumItalic-tlf-sc-t1
+\else
+  Cabin-Italic-tlf-sc-t1
+\fi
 }{}
 
 \DeclareFontShape{T1}{Cabin-TLF}{m}{scsl}{
-- 
cgit v1.2.3

