[latex3-commits] [latex2e-public] r1364 - force fontdimen 3 and 4 to zero for tulmtt

noreply at latex-project.org noreply at latex-project.org
Wed Jan 25 12:12:41 CET 2017


Author: carlisle
Date: 2017-01-25 12:12:41 +0100 (Wed, 25 Jan 2017)
New Revision: 1364

Modified:
   trunk/base/changes.txt
   trunk/base/tulmtt.fd
Log:
force fontdimen 3 and 4 to zero for tulmtt

Modified: trunk/base/changes.txt
===================================================================
--- trunk/base/changes.txt	2017-01-25 10:06:54 UTC (rev 1363)
+++ trunk/base/changes.txt	2017-01-25 11:12:41 UTC (rev 1364)
@@ -11,6 +11,8 @@
 
 2017-01-25  David Carlisle  <latex-bugs at latex-project.org>
 
+	* tulmtt.fd: force fontdimens 3 and 4 of lmtt to zero (for xetex)
+
 	* ltoutenc.dtx: add composites for i and j duplicating those for
 	\i and \j
 

Modified: trunk/base/tulmtt.fd
===================================================================
--- trunk/base/tulmtt.fd	2017-01-25 10:06:54 UTC (rev 1363)
+++ trunk/base/tulmtt.fd	2017-01-25 11:12:41 UTC (rev 1364)
@@ -1,11 +1,17 @@
 
-\ProvidesFile{tulmtt.fd}[2009/10/30 v1.6 Font defs for Latin Modern]
-\DeclareFontFamily{TU}{lmtt}{\hyphenchar \font\m at ne}
+\ProvidesFile{tulmtt.fd}[2017/01/25 v1.7 Font defs for Latin Modern]
+\DeclareFontFamily{TU}{lmtt}{%
+\hyphenchar \font\m at ne
+\fontdimen3\font\z@
+\fontdimen4\font\z@
+}
 
 \ifx\lmtt at use@light at as@normal\@empty
 \DeclareFontShape{TU}{lmtt}{sb}{n}
-     {<-8.5>   \UnicodeFontFile{lmmono8-regular}{}     <8.5-9.5> \UnicodeFontFile{lmmono9-regular}{}
-      <9.5-11> \UnicodeFontFile{lmmono10-regular}{}    <11->     \UnicodeFontFile{lmmono12-regular}{}
+     {<-8.5>   \UnicodeFontFile{lmmono8-regular}{}
+      <8.5-9.5> \UnicodeFontFile{lmmono9-regular}{}
+      <9.5-11> \UnicodeFontFile{lmmono10-regular}{}
+      <11->     \UnicodeFontFile{lmmono12-regular}{}
       }{}
 \DeclareFontShape{TU}{lmtt}{sb}{it}
      {<-> \UnicodeFontFile{lmmono10-italic}{}}{}
@@ -29,8 +35,10 @@
      {<-> \UnicodeFontFile{lmmonoltcond10-oblique}{}}{}
 \else
 \DeclareFontShape{TU}{lmtt}{m}{n}
-     {<-8.5>   \UnicodeFontFile{lmmono8-regular}{}     <8.5-9.5> \UnicodeFontFile{lmmono9-regular}{}
-      <9.5-11> \UnicodeFontFile{lmmono10-regular}{}    <11->     \UnicodeFontFile{lmmono12-regular}{}
+     {<-8.5>   \UnicodeFontFile{lmmono8-regular}{}
+     <8.5-9.5> \UnicodeFontFile{lmmono9-regular}{}
+      <9.5-11> \UnicodeFontFile{lmmono10-regular}{}
+      <11->     \UnicodeFontFile{lmmono12-regular}{}
       }{}
 \DeclareFontShape{TU}{lmtt}{m}{it}
      {<-> \UnicodeFontFile{lmmono10-italic}{}}{}



More information about the latex3-commits mailing list