Closed cbarrick closed 5 years ago
what i just said in #181, you cannot just change a file.
Am 06.02.2018 03:19 schrieb "Chris Barrick" notifications@github.com:
Latex gives a font-not-found error if FontAwesome is not installed globally.
The problem, as far as I can tell, is that fontawesome.sty declares the FontAwesome family with \newfontfamily{\FA}{FontAwesome}. This does not point fontspec to the proper font directory.
However, awesome-cv.cls also declares the FontAwesome family with \newfontfamily\FA[Path=\@fontdir]{FontAwesome}. This does point to the proper font directory (\@fontdir), so the declaration in fontawesome.sty is unneeded.
This closes #181 https://github.com/posquit0/Awesome-CV/issues/181
You can view, comment on, or merge this pull request online at:
https://github.com/posquit0/Awesome-CV/pull/191 Commit Summary
- Fix font-not-found error
File Changes
- M fontawesome.sty https://github.com/posquit0/Awesome-CV/pull/191/files#diff-0 (4)
Patch Links:
- https://github.com/posquit0/Awesome-CV/pull/191.patch
- https://github.com/posquit0/Awesome-CV/pull/191.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/posquit0/Awesome-CV/pull/191, or mute the thread https://github.com/notifications/unsubscribe-auth/AH4EjmYBagV4qWag129uWRmpiSwQIveDks5tR7a0gaJpZM4R6Zdp .
You cannot just change a copyrighted file.
I'm not sure I follow.
@posquit0 is claiming copyright on this file, so he has the authority to merge the PR. He has also given us express permission to use and modify this LaTeX template.
I can see this being less than an ideal fix. Breaking the font family definition out of the font's package seems gross. I'm open to other ways of solving the problem.
@cbarrick while you seem to be right, I'm not sure, legally seen, how @posquit0 could claim copyright on a file which originally seems to be written by @plorcupin.
Unfortunately, there is no license in plorcupine/latex-fontawesome.
Maybe @posquit0 should chime in....
My error is well fixed by removing the declaration in fontawesome.sty. Thanks!
Latex gives a font-not-found error if FontAwesome is not installed globally.
The problem, as far as I can tell, is that
fontawesome.sty
declares the FontAwesome family with\newfontfamily{\FA}{FontAwesome}
. This does not point fontspec to the proper font directory.However,
awesome-cv.cls
also declares the FontAwesome family with\newfontfamily\FA[Path=\@fontdir]{FontAwesome}
. This does point to the proper font directory (\@fontdir
), so the declaration infontawesome.sty
is unneeded.This closes #181