posquit0 / Awesome-CV

:page_facing_up: Awesome CV is LaTeX template for your outstanding job application
LaTeX Project Public License v1.3c
23.03k stars 4.79k forks source link

Override the folder of the fonts #196

Open JamesMenetrey opened 6 years ago

JamesMenetrey commented 6 years ago

Dear author(s),

First at all, I would like to thank you for the hard and great work achieved so far !

I'm trying to change the folder of the fonts by calling the command \fontdir[xxx], where xxx is the path of the new folder. Nevertheless, it seems that the path is never taken into account. Indeed, after some researches, the .cls file declares the the command and directly invoke it without parameter, resulting of the usage of the default path fonts/. Afterwards, the property \@fontdir is used to define the fonts, without enabling us to override the the path inbetween. Overriding the fonts folder in the .tex document is too late, as the declarations relying on \@fontdir have been called already.

My goal is to override the path without changing the .cls (mainly because I submodule your repository).

Any thoughts ? Did I miss something ?

Many thanks !

artynet commented 5 years ago

@ZenLulz my commit should fix that b36902322233b61b9d470a45b0a1bf20cc824cee