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

Issue with fonts #2

Open
lasas opened this issue Apr 26, 2022 · 1 comment
Open

Issue with fonts #2

lasas opened this issue Apr 26, 2022 · 1 comment

Comments

@lasas
Copy link

lasas commented Apr 26, 2022

There are fonts in two places:

  • fonts directory
  • "embedded" in src/rapipdf/vfs_fonts.js

But fonts directory isn't included in NPM package and vfs_fonts.js isn't used at all (IMHO). So, you can't use rapipdf-cli without external fonts. (no easy way for npx @kingjan1999/rapipdf-cli ...)

Recently, I fount workaround: you can specify in configuration file not only local fonts, but also remote (https://...).

@kingjan1999
Copy link
Owner

Hi,

thanks for your interest in using this. I will include the fonts directory in the next published npm version and remove vfs_fonts.

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