Am 04.05.22 um 21:36 schrieb Herbert Voß:
… daß ich verwirrt bin. ;-)
Unter Linux, in meinem Home-Verzeichnis:
~ $ rm -rf .texlive2022
~ $ luafindfont alegreya
We are using Lua 5.3
Looking for font "alegreya"
Error getting file location:
/home/jm/.texlive2022/texmf-var/luatex-cache/generic/names/test.tmp: No
such file or directory
There is no cached font file list!
Will run at first "luaotfload-tool --update --force" ... Wait a minute,
please ...
No. Fontname Symbolic Name
Path
1. Alegreya-Black.otf alegreya
/opt/texlive/2022/texmf-dist/fonts/opentype/huerta/alegreya/
[…]
48. AlegreyaSC-Regular.otf alegreyasc
/opt/texlive/2022/texmf-dist/fonts/opentype/huerta/alegreya/
~ $ luafindfont alegreya # zur Kontrolle
We are using Lua 5.3
Looking for font "alegreya"
No. Fontname Symbolic Name
Path
1. Alegreya-Black.otf alegreya
/opt/texlive/2022/texmf-dist/fonts/opentype/huerta/alegreya/
[…]
48. AlegreyaSC-Regular.otf alegreyasc
/opt/texlive/2022/texmf-dist/fonts/opentype/huerta/alegreya/
ykv@uhu 10:24:13 ~ 2022 $
Es werden also 48 Dateien – alle sind .otf-Dateien – gefunden.
Es macht auch keinen Unterschied, ob ich die originale Datei luafindfont
verwende oder die von Ulrike gestern vorgeschlagene Änderung
> Bei mir scheitert luafindfont allerdings derzeit, weil Zeile 186 im
> lua falsch ist
>
> f,err = io.open (file..".lua.gz", "r")
>
> müsste eigentlich so lauten
>
> f,err = io.open (file..".lua.gz", "rb")
>
berücksichtige.
Die Suche nach times gibt unverändert dieses Ergebnis:
~ $ luafindfont times
We are using Lua 5.3
Looking for font "times"
No. Fontname Symbolic Name Path
~ $
Jakob