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

dompdf bin script for installing fonts #2777

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markkimsal
Copy link
Contributor

I took the Utils/load_font.php script and turned it into a script that would be available via composer bin scripts after install. To support the concept of installing fonts as packages, as mentioned in #1979, I would expect the base dompdf supplies dependent packages with a font install script that can be triggered on post-install.

This could work for any root project that requires dompdf and wants to install custom fonts into the correct location during a build pipeline or post installation.

The command font:install was put in place to support more future commands like "font:clear-cache" or "font:list-installed"

@markkimsal markkimsal changed the title feat: dompdf bin script for installing fonts dompdf bin script for installing fonts Feb 13, 2022
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 this pull request may close these issues.

None yet

1 participant