dompdf load_font.php generates incorrect cache

DomPDF is a wonderful library, which helps to generate PDF files on your server.
It also gives a possibility to add custom fonts to setup.
For this purpose there is a special utility load_font.php
just run the following command line on your Linux box and you will get proper fonts for dompdf:

The problem I met is the file lib/fonts/dompdf_font_family_cache. This file is used to store fonts’ information for further using in PDF generation.
Actually it is just simple php Array:

The source of the problem is in full path. If you plan to copy this directory structure to your server, then replace the full path with the definition DOMPDF_FONT_DIR