mintyfrankie / brilliant-CV

💼 another CV template for your job application, yet powered by Typst and more
https://typst.app/universe/package/brilliant-cv
Apache License 2.0
404 stars 18 forks source link

fa icons not working #11

Closed PabloRuizCuevas closed 11 months ago

PabloRuizCuevas commented 11 months ago

Describe the bug just seems that fa icons are not working for me, probably there is a super easy way to install them, just no idea how to do it also I don´t find any infomation on how to do it.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Icons work

Screenshots image

Additional context Add any other context about the problem here.

mintyfrankie commented 11 months ago

Normally the fontawesome icons are imported automatically by the fontAwesome package, it's weird you cannot get it running.

Besides I see in your screenshot that the fonts were not correctly imported neither.

Can you provide some more extra information on how you set it up, or is there any error catched by typst-cli?

PabloRuizCuevas commented 11 months ago

yes, it may be because of the new version of typst, i think fontAwesome may not be working anymore, just tried to import it to a new project in the webapp with no luck, so the issue may not be in your package.

mintyfrankie commented 11 months ago

I've checked again, the fontawesome package does requires you to install the font locally in advance; yet I've already included it in the ./src folder.

The compile check confirmed that the template is passing with latest version of typst, so it's not there you should dig into.

My largest doubt is that you might not include the --font-path flag when compiling, which also explains why the Roboto font is not working.

PabloRuizCuevas commented 11 months ago

Thanks not is working, I thought the --font was not realted with the icons so didn´t include the path, my fault. We can close this issue, and thanks for the template looks fantastic :))

mintyfrankie commented 11 months ago

With pleasure!