From 5e098aa246078165cc3b574dd5568e8b1fed2ea0 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 30 Sep 2009 00:08:58 +0000
Subject: lm 2.003 (29sep09)

git-svn-id: svn://tug.org/texlive/trunk@15566 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/lm/t1lmvtt.fd | 34 +++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/lm/t1lmvtt.fd')

diff --git a/Master/texmf-dist/tex/latex/lm/t1lmvtt.fd b/Master/texmf-dist/tex/latex/lm/t1lmvtt.fd
index 0a81f81c3bb..2a77f7f5f0c 100644
--- a/Master/texmf-dist/tex/latex/lm/t1lmvtt.fd
+++ b/Master/texmf-dist/tex/latex/lm/t1lmvtt.fd
@@ -1,11 +1,31 @@
-% This file belongs to the Latin Modern package. The work is released under
-% the GUST Font License. See the MANIFEST.txt and README.eng files
-% for the details. For the most recent version of this license see
-% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt or
-% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt
+% This file belongs to the Latin Modern package. The work is released
+% under the GUST Font License. See the MANIFEST-Latin-Modern.txt and
+% README-Latin-Modern.txt files for the details. For the most recent version of
+% this license see http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt
+% or http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt
 
-\ProvidesFile{t1lmvtt.fd}[2007/01/14 v1.3 Font defs for Latin Modern]
+\ProvidesFile{t1lmvtt.fd}[2009/08/12 v1.4 Font defs for Latin Modern]
 \DeclareFontFamily{T1}{lmvtt}{}
+
+\ifx\lmtt@use@light@as@normal\@empty
+% macro defined, so we use the light variant as medium (m), and
+% medium as semi-bold (sb):
+\DeclareFontShape{T1}{lmvtt}{sb}{n}
+     {<-> ec-lmvtt10}{}
+\DeclareFontShape{T1}{lmvtt}{sb}{sl}
+     {<-> ec-lmvtto10}{}
+\DeclareFontShape{T1}{lmvtt}{sb}{it}
+     {<->sub*lmvtt/m/sl}{}
+%%%%%%%% light (l) and dark (b) variants:
+\DeclareFontShape{T1}{lmvtt}{m}{n}
+     {<-> ec-lmvtl10}{}
+\DeclareFontShape{T1}{lmvtt}{m}{sl}
+     {<-> ec-lmvtlo10}{}
+\DeclareFontShape{T1}{lmvtt}{m}{it}
+     {<->sub*lmvtt/l/sl}{}
+
+\else
+% usual setup of variants:
 \DeclareFontShape{T1}{lmvtt}{m}{n}
      {<-> ec-lmvtt10}{}
 \DeclareFontShape{T1}{lmvtt}{m}{sl}
@@ -19,6 +39,8 @@
      {<-> ec-lmvtlo10}{}
 \DeclareFontShape{T1}{lmvtt}{l}{it}
      {<->sub*lmvtt/l/sl}{}
+\fi
+% bold is always bold (b):
 \DeclareFontShape{T1}{lmvtt}{b}{n}
      {<-> ec-lmvtk10}{}
 \DeclareFontShape{T1}{lmvtt}{b}{sl}
-- 
cgit v1.2.3

