[latex3-commits] [latex3/latex2e] develop: Load TeX Gyre Termes by filename (03f8a344)

github at latex-project.org github at latex-project.org
Thu Mar 14 10:35:41 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/03f8a3446330cb11ec3c385b433bc5475bac5de5

>---------------------------------------------------------------

commit 03f8a3446330cb11ec3c385b433bc5475bac5de5
Author: Joseph Wright <joseph at texdev.net>
Date:   Thu Mar 14 09:35:41 2024 +0000

    Load TeX Gyre Termes by filename
    
    We seem to have a luaotfload cache issue otherwise.


>---------------------------------------------------------------

03f8a3446330cb11ec3c385b433bc5475bac5de5
 base/testfiles-TU/github-0282.luatex.tlg | 32 ++++++++++++++++----------------
 base/testfiles-TU/github-0282.lvt        |  7 ++++++-
 2 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/base/testfiles-TU/github-0282.luatex.tlg b/base/testfiles-TU/github-0282.luatex.tlg
index b87a6e8e..8cfcef4d 100644
--- a/base/testfiles-TU/github-0282.luatex.tlg
+++ b/base/testfiles-TU/github-0282.luatex.tlg
@@ -24,24 +24,24 @@ Completed box being shipped out [1]
 .....\localleftbox=null
 .....\localrightbox=null
 ....\hbox(0.0+0.0)x15.0, direction TLT
-....\TU/TeXGyreTermes(0)/m/n/10 h
-....\TU/TeXGyreTermes(0)/m/n/10 e
-....\TU/TeXGyreTermes(0)/m/n/10 l
-....\TU/TeXGyreTermes(0)/m/n/10 l
-....\TU/TeXGyreTermes(0)/m/n/10 o
+....\TU/texgyretermes(0)/m/n/10 h
+....\TU/texgyretermes(0)/m/n/10 e
+....\TU/texgyretermes(0)/m/n/10 l
+....\TU/texgyretermes(0)/m/n/10 l
+....\TU/texgyretermes(0)/m/n/10 o
 ....\glue(\spaceskip) 2.5 plus 1.25 minus 0.83333
-....\TU/TeXGyreTermes(0)/m/it/10 h
-....\TU/TeXGyreTermes(0)/m/it/10 e
-....\TU/TeXGyreTermes(0)/m/it/10 l
-....\TU/TeXGyreTermes(0)/m/it/10 l
-....\TU/TeXGyreTermes(0)/m/it/10 o
+....\TU/texgyretermes(0)/m/it/10 h
+....\TU/texgyretermes(0)/m/it/10 e
+....\TU/texgyretermes(0)/m/it/10 l
+....\TU/texgyretermes(0)/m/it/10 l
+....\TU/texgyretermes(0)/m/it/10 o
 ....\kern0.0 (italic)
 ....\glue 2.5 plus 1.25 minus 0.83333
-....\TU/TeXGyreTermes(0)/b/n/10 h
-....\TU/TeXGyreTermes(0)/b/n/10 e
-....\TU/TeXGyreTermes(0)/b/n/10 l
-....\TU/TeXGyreTermes(0)/b/n/10 l
-....\TU/TeXGyreTermes(0)/b/n/10 o
+....\TU/texgyretermes(0)/b/n/10 h
+....\TU/texgyretermes(0)/b/n/10 e
+....\TU/texgyretermes(0)/b/n/10 l
+....\TU/texgyretermes(0)/b/n/10 l
+....\TU/texgyretermes(0)/b/n/10 o
 ....\kern0.0 (italic)
 ....\penalty 10000
 ....\glue(\parfillskip) 0.0 plus 1.0fil
@@ -54,6 +54,6 @@ Completed box being shipped out [1]
 ..\hbox(6.76+0.0)x345.0, direction TLT
 ...\hbox(6.76+0.0)x345.0, glue set 170.0fil, direction TLT
 ....\glue 0.0 plus 1.0fil
-....\TU/TeXGyreTermes(0)/m/n/10 1
+....\TU/texgyretermes(0)/m/n/10 1
 ....\glue 0.0 plus 1.0fil
 (github-0282.aux)
diff --git a/base/testfiles-TU/github-0282.lvt b/base/testfiles-TU/github-0282.lvt
index 501c64bc..2cf2874e 100644
--- a/base/testfiles-TU/github-0282.lvt
+++ b/base/testfiles-TU/github-0282.lvt
@@ -6,7 +6,12 @@
 
 
 \usepackage{fontspec}
-\setmainfont{TeX Gyre Termes}       % this load doesn't work on MacOs with xetex
+\setmainfont{texgyretermes}[
+  Extension   = .otf ,
+  UprightFont = *-regular,
+  BoldFont    = *-bold,
+  ItalicFont  = *-italic
+]
 
 \showoutput
 





More information about the latex3-commits mailing list.