Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I moved MiKTeX portable to another directory, and after that there are issues with loading fontconfig. Specifically, when compiling with xelatex, fontconfig cannot be loaded. Its location is apparently pointing to the original location OLDLOCATION.

Where does MiKTeX keep such information?

(CURRENTLOCATION\tex\latex\fontspec\fontspec-xetex.sty
(CURRENTLOCATION\tex\latex\base\fontenc.sty (CURRENTLOCATION\tex\latex\euenc\eu1enc.def)
(CURRENTLOCATION\tex\latex\euenc\eu1lmr.fd)Fontconfig error: Cannot load config file "
OLDLOCATION/fontconfig/config/localfonts.conf"
Fontconfig error: Cannot load default config file
)
share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

I don't have the portable version. But in my miktex the fonts.conf in <Root UserConfig>/fontconfig/config contains explicit pathes. You should also check localfonts.conf and localfonts2.conf.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.