Skip to content

Conversation

@williamdes
Copy link
Contributor

This backports some of my changes from Debian: https://udd.debian.org/patches.cgi?src=php-dompdf&version=3.1.0%2Bdfsg-1

I can remove the ones you do not like, this is to try to have less patches to rebase on each version

public function loadFontFamilies()
{
$file = $this->options->getRootDir() . "/lib/fonts/installed-fonts.dist.json";
$file = $this->options->getFontDir() . "/installed-fonts.dist.json";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd have to think on this one more. The purpose of this particular line of code was to pull the distributed JSON to ensure Dompdf always has a baseline of supported fonts. The generated JSON file can override that, but there's no guarantee that it will include the ".dist" file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see
since there is different install paths I had to change this line. I also need to think about it for the composer version

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.

2 participants