Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fontspec not-found-font error #19

Open
palindrom615 opened this issue Apr 24, 2022 · 4 comments
Open

fontspec not-found-font error #19

palindrom615 opened this issue Apr 24, 2022 · 4 comments

Comments

@palindrom615
Copy link

It seems fonts installed by extra_system_packages is not properly detected by xelatex.

further investigation needed

./resume.cls:9: Package fontspec Error: The font "Times New Roman" cannot be found
@AntonC9018
Copy link

+1, trying to set it up here. I thought installing the font manually would fix it, but tough luck.

@koppor
Copy link
Member

koppor commented Feb 12, 2025

+1, trying to set it up here. I thought installing the font manually would fix it, but tough luck.

You mixed up the layers there. The Docker image is a separate operating system. Either run the whole job in that docker image (see https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#referencing-a-container-on-docker-hub) -- or switch to another way (which you did)

For your concrete case, I suggest to use cache-apt-pkgs-action to speed up builds. You could combine it with install-texlive action to have a more recent TeX Live than offered by debian.

@koppor
Copy link
Member

koppor commented Feb 12, 2025

further investigation needed

Yeah! A minimal example would help to debug.

@koppor
Copy link
Member

koppor commented Feb 13, 2025

I think, one needs to dive into the indexing of fonts. With lualatex, it is luaotfload, which is not used in #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants