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

[Feature Request] Settings for additional font directories #75

Open
2 tasks done
LuhaoLiu opened this issue Apr 8, 2023 · 2 comments · May be fixed by #360
Open
2 tasks done

[Feature Request] Settings for additional font directories #75

LuhaoLiu opened this issue Apr 8, 2023 · 2 comments · May be fixed by #360

Comments

@LuhaoLiu
Copy link

LuhaoLiu commented Apr 8, 2023

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the discussions and believe that my question is not already covered.

Feature Request

Could we have a new setting for additional font directories? Just like the --font-path option in typst. It would be useful when using fonts that are not embedded.
Also some dependent settings like whether to search recursively.
Thanks for your contributions! I am enjoying using this extension!

@vallentin
Copy link

I was looking for this feature as well. As I have "fonts" dir in my project. To work around this, I'm currently doing the following:

typst --font-path fonts watch doc.typ

Though it causes a double compilation if using a PDF preview.

@Nabav
Copy link

Nabav commented Jun 13, 2023

Even this trick did not help:

"typst-lsp.serverPath": "path/to/local/typst --font-path ~/.fonts",

@PgBiel PgBiel linked a pull request Nov 19, 2023 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

3 participants