tectonic-typesetting / tectonic

A modernized, complete, self-contained TeX/LaTeX engine, powered by XeTeX and TeXLive.
https://tectonic-typesetting.github.io/
Other
3.99k stars 162 forks source link

[Windows] Fontconfig error: Cannot load default config file: No such file: (null) #1212

Closed FinalSh4re closed 2 months ago

FinalSh4re commented 2 months ago

Using the tectonic (current master branch) in a rust project on Windows 11, the program prints "Fontconfig error: Cannot load default config file: No such file: (null)".

Curiously, if I run the compiled binary from my project's 'target' folder, it prints above mentioned error message, but still generates a PDF file. However, once I move the binary somewhere else I only get the error and the program also fails to generate a PDF.

FinalSh4re commented 2 months ago

I found the proposed solution in #757, which works though it's more of a workaround than a solution in my opinion.