Skip to content

load_font lost previous fonts #3

@Cyrille37

Description

@Cyrille37

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 second font with load_font.php then the file dompdf_font_family_cache.php missing the first added font, and render missing this first font.

How do you manage this case ?

The only solution I found is, before using load_font, copying dompdf_font_family_cache.php, then extract previous font definition, then copy it in the newly generated dompdf_font_family_cache.php.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions