Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fa icons not working #11

Closed
PabloRuizCuevas opened this issue Sep 14, 2023 · 5 comments
Closed

fa icons not working #11

PabloRuizCuevas opened this issue Sep 14, 2023 · 5 comments

Comments

@PabloRuizCuevas
Copy link

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.

@yunanwg
Copy link
Owner

yunanwg commented Sep 14, 2023

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
Copy link
Author

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.

@yunanwg
Copy link
Owner

yunanwg commented Sep 15, 2023

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
Copy link
Author

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 :))

@yunanwg
Copy link
Owner

yunanwg commented Sep 16, 2023

With pleasure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants