From bc6b2d9b5bc8514cdd075cb5ba3182b1c4c16d78 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Thu, 21 Sep 2017 20:57:10 +0000
Subject: xcharter (21sep17)

git-svn-id: svn://tug.org/texlive/trunk@45369 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/xcharter/T2AXCharter-TLF.fd          | 30 +++++++++++++---------
 1 file changed, 18 insertions(+), 12 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/xcharter/T2AXCharter-TLF.fd')

diff --git a/Master/texmf-dist/tex/latex/xcharter/T2AXCharter-TLF.fd b/Master/texmf-dist/tex/latex/xcharter/T2AXCharter-TLF.fd
index cb65bf904e1..0e7aea8d69c 100644
--- a/Master/texmf-dist/tex/latex/xcharter/T2AXCharter-TLF.fd
+++ b/Master/texmf-dist/tex/latex/xcharter/T2AXCharter-TLF.fd
@@ -9,54 +9,60 @@
     \edef\XCharter@@scale{s*[\csname XCharter@scale\endcsname]}%
 \fi
 
+\def\XCharter@@srb{}
+\expandafter\ifx\csname @XCh@srbtrue\endcsname\relax
+\else
+    \edef\XCharter@@srb{\if@XCh@srb srb\fi}%
+\fi
+
 \DeclareFontFamily{T2A}{XCharter-TLF}{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{b}{it}{
-      <-> \XCharter@@scale XCharter-BoldItalic-tlf-t2a
+      <-> \XCharter@@scale XCharter-BoldItalic-tlf-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{b}{sc}{
-      <-> \XCharter@@scale XCharter-Bold-tlf-sc-t2a
+      <-> \XCharter@@scale XCharter-Bold-tlf-sc-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{b}{sl}{
-      <-> \XCharter@@scale XCharter-BoldSlanted-tlf-t2a
+      <-> \XCharter@@scale XCharter-BoldSlanted-tlf-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{b}{scsl}{
-      <-> \XCharter@@scale XCharter-BoldSlanted-tlf-sc-t2a
+      <-> \XCharter@@scale XCharter-BoldSlanted-tlf-sc-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{b}{n}{
-      <-> \XCharter@@scale XCharter-Bold-tlf-t2a
+      <-> \XCharter@@scale XCharter-Bold-tlf-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{b}{scit}{
-      <-> \XCharter@@scale XCharter-BoldItalic-tlf-sc-t2a
+      <-> \XCharter@@scale XCharter-BoldItalic-tlf-sc-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{m}{scit}{
-      <-> \XCharter@@scale XCharter-Italic-tlf-sc-t2a
+      <-> \XCharter@@scale XCharter-Italic-tlf-sc-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{m}{scsl}{
-      <-> \XCharter@@scale XCharter-Slanted-tlf-sc-t2a
+      <-> \XCharter@@scale XCharter-Slanted-tlf-sc-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{m}{n}{
-      <-> \XCharter@@scale XCharter-Roman-tlf-t2a
+      <-> \XCharter@@scale XCharter-Roman-tlf-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{m}{sl}{
-      <-> \XCharter@@scale XCharter-Slanted-tlf-t2a
+      <-> \XCharter@@scale XCharter-Slanted-tlf-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{m}{it}{
-      <-> \XCharter@@scale XCharter-Italic-tlf-t2a
+      <-> \XCharter@@scale XCharter-Italic-tlf-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{m}{sc}{
-      <-> \XCharter@@scale XCharter-Roman-tlf-sc-t2a
+      <-> \XCharter@@scale XCharter-Roman-tlf-sc-t2a\XCharter@@srb
 }{}
 
 \DeclareFontShape{T2A}{XCharter-TLF}{bx}{it}{
-- 
cgit v1.2.3

