utils icon indicating copy to clipboard operation
utils copied to clipboard

Utility scripts for use with the dompdf library

Results 9 utils issues
Sort by recently updated
recently updated
newest added

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...

When downloading Google font pack, the "normal" font is named ie. "Nunito-Regular.ttf", and not Nunito.ttf. This patch adds support for stripping "-Regular" from base name, and it adds suffixes for...

Extended the heuristic for finding variants for fonts such as Ubuntu (-R, -RI, -B, -BI) and Liberation (-Regular, -Italic, -Bold, -BoldItalic).

Custom font directory must set through Dompdf constructor in order to retain previously loaded fonts I think this fixes both #3 and #6.

I've added an example of loading fonts from in-script (like `load_fonts.php` does via command line). Based on the many stack overflow [questions](https://stackoverflow.com/questions/24412203/dompdf-and-set-different-font-family/59768445#59768445) I hit, I think this may be useful...

The code in /www/fonts.php assumes the font cache file is located in the same folder as the fonts (basically the Installed Fonts list is a list of all files within...

``` php load_font.php 'Droid' DroidSansFallback.ttf ``` Then the script escaped my single quotes. And according to the instruction, I shouldn't have added the single quotes. per dompdf/dompdf#1508

I try to add cyrillic font to DOMPDF 0.7 but always errors. First of all I had this when run load_font.php in command line ``` Fatal error: Uncaught exception 'Dompdf\Exception'...

Hi, While trying to add several fonts to my projet I discover that load_font.php create the file `dompdf_font_family_cache.php`. This file is then used while rendering. So when I added a...