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

git issue tracking custom fonts #14

Open
sistemanick opened this issue Jan 17, 2024 · 1 comment
Open

git issue tracking custom fonts #14

sistemanick opened this issue Jan 17, 2024 · 1 comment

Comments

@sistemanick
Copy link

sistemanick commented Jan 17, 2024

I'm wondering how would I track custom fonts in git. The best practice is to gitignore the whole ./vendor directory, but all the custom fonts are saved under ./vendor/dompdf/dompdf/lib/fonts, which creates an issue for me. Is there a way to move the fonts directory out of ./vendor/dompdf?

@bsweeney
Copy link
Member

You should set the fontDir option to a directory outside the vendor directory. The fonts bundled with Dompdf will still be referenced, but any user-installed fonts will be placed in the directory specified by that option.

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