[LMTX] fonts problem (again)
Hi! Once again i'm unable to load my system's font which is working well with MKIV. i have followed the steps : export OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/ mtxrun --generate mtx run --make mtxrun --script fonts --reload without success. This problem occurred to me since december 2020, i update LMTX weekly from the archlinux user repo (aur) binary. Any suggestions? -- Dr YAHYAOUI Mohamed Kaddour, cardiologue .
On 2/21/2021 4:45 PM, kaddour kardio wrote:
Hi! Once again i'm unable to load my system's font which is working well with MKIV.
i have followed the steps : export OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/ mtxrun --generate mtx run --make mtxrun --script fonts --reload
without success. This problem occurred to me since december 2020, i update LMTX weekly from the archlinux user repo (aur) binary. Any suggestions?
Not without more info ... here I get something fonts | names | variable 'OSFONTDIR' specifies path 'c:/windows/fonts' fonts | names | variable 'fontconfig file' specifies path 'c:/windows/fonts' fonts | names | globbing path 'c:/windows/fonts/**.otf' fonts | names | identifying system font files with suffix 'OTF' fonts | names | globbing path 'c:/windows/fonts/**.OTF' what is that at your end? (As I never rely on system fonts I have no linux box with a setup to test it.) (making a copy - or link - in <sometexroot>/texmf-fonts/data/... could also work) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 2/21/21 5:05 PM, Hans Hagen wrote:
On 2/21/2021 4:45 PM, kaddour kardio wrote:
Hi! Once again i'm unable to load my system's font which is working well with MKIV. [...] export OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/ [...] This problem occurred to me since december 2020, i update LMTX weekly from the archlinux user repo (aur) binary. Any suggestions?
[...] (making a copy - or link - in <sometexroot>/texmf-fonts/data/... could also work) Hi Kaddour,
I use LMTX in Linux too and I have symlynks in <texroot>/texmf-fonts that work perfectly fine (as Hans suggests). I would create symlinks for your font directories, such as in: ln -s ~/.local/share/fonts <texroot>/texmf-fonts/local-fonts ln -s /usr/share/fonts <texroot>/texmf-fonts/system-fonts ln -s /usr/share/texmf/fonts/ <texroot>/texmf-fonts/texlive-fonts After that, I think it would be helpful (this is what I do after each LMTX update): mtxrun --script cache --erase mtxrun --generate And compile your documents. The first run will make the format file. I hope it helps, Pablo -- http://www.ousia.tk
Thank you Hans and Pablo, symlinking the font directories to luametatex
font directory worked as expected. I guess i have to follow the same steps
after every update..
Le dim. 21 févr. 2021 à 18:42, Pablo Rodriguez
On 2/21/21 5:05 PM, Hans Hagen wrote:
On 2/21/2021 4:45 PM, kaddour kardio wrote:
Hi! Once again i'm unable to load my system's font which is working well with MKIV. [...] export
OSFONTDIR=~/.local/share/fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/
[...] This problem occurred to me since december 2020, i update LMTX weekly from the archlinux user repo (aur) binary. Any suggestions? [...] (making a copy - or link - in <sometexroot>/texmf-fonts/data/... could also work) Hi Kaddour,
I use LMTX in Linux too and I have symlynks in <texroot>/texmf-fonts that work perfectly fine (as Hans suggests).
I would create symlinks for your font directories, such as in:
ln -s ~/.local/share/fonts <texroot>/texmf-fonts/local-fonts ln -s /usr/share/fonts <texroot>/texmf-fonts/system-fonts ln -s /usr/share/texmf/fonts/ <texroot>/texmf-fonts/texlive-fonts
After that, I think it would be helpful (this is what I do after each LMTX update):
mtxrun --script cache --erase mtxrun --generate
And compile your documents. The first run will make the format file.
I hope it helps,
Pablo -- http://www.ousia.tk
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- Dr YAHYAOUI Mohamed Kaddour, cardiologue .
On 2/23/2021 6:15 PM, kaddour kardio wrote:
Thank you Hans and Pablo, symlinking the font directories to luametatex font directory worked as expected. I guess i have to follow the same steps after every update.. no, because texmf-fonts is never touched by an update
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 2/23/21 6:45 PM, Hans Hagen wrote:
On 2/23/2021 6:15 PM, kaddour kardio wrote:
Thank you Hans and Pablo, symlinking the font directories to luametatex font directory worked as expected. I guess i have to follow the same steps after every update.. no, because texmf-fonts is never touched by an update
You have only to add (if you want to recreate everything after each update): mtxrun --script cache --erase && mtxrun --generate Just in case it helps, Pablo -- http://www.ousia.tk
participants (3)
-
Hans Hagen
-
kaddour kardio
-
Pablo Rodriguez