Fwd: tl24 pretest

Bruno Voisin bvoisin at icloud.com
Tue Feb 27 16:10:48 CET 2024


To Uwe Siart: have you tried running "luaotfload-tool --cache=show"? It should tell you which cache file is used and whether it is writable.

For me:

% luaotfload-tool --cache=show
luaotfload | ------------------------------------------------------------------- :
luaotfload | cache : Luaotfload cache: writable path
luaotfload | cache : location: /Users/brunovoisin/Library/texlive/2024/texmf-var/luatex-cache/generic/fonts/
luaotfload | cache : [raw]          8
luaotfload | cache : [compiled]     8
luaotfload | cache : [other]        0
luaotfload | cache : [total]       16

luaotfload | cache : Luaotfload cache: readable path
luaotfload | cache : location: /Users/brunovoisin/Library/texlive/2024/texmf-var/luatex-cache/generic/fonts
luaotfload | cache : [raw]          8
luaotfload | cache : [compiled]     8
luaotfload | cache : [other]        0
luaotfload | cache : [total]       16
luaotfload | ------------------------------------------------------------------- :

~/Library/texlive/2024 is for the Mac. On Unix that should be ~/.texlive2024, on Windows I don't know.

Your example

\documentclass{article}
\usepackage{fontspec}
\setmainfont{TeXGyreHeros}
\begin{document}
Hello world!
\end{document}

works on my setup. The font name database ~/texlive/2024/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz contains

  {
   ["basename"]="texgyreheros-regular.otf",
   ["familyname"]="texgyreheros",
   ["fontname"]="texgyreherosregular",
   ["format"]="otf",
   ["fullname"]="texgyreherosregular",
   ["fullpath"]="//usr/local/texlive/2024/texmf-dist/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf",
   ["index"]=997,
   ["italicangle"]=0x0p+0,
   ["location"]="texmf",
   ["pfmweight"]=400,
   ["plainname"]="TeXGyreHeros-Regular",
   ["psname"]="texgyreherosregular",
   ["size"]={ 657817.6, 1315635.2, 328908.8 },
   ["subfamily"]="regular",
   ["subfont"]=false,
   ["version"]="Version 2.004;PS 2.004;hotconv 1.0.49;makeotf.lib2.0.14853",
   ["weight"]="regular",
   ["width"]=5,
  },

and this seems to work.

Bruno Voisin




More information about the tex-live mailing list.