ssimms / pdfapi2

Create, modify, and examine PDF files in Perl
Other
15 stars 20 forks source link

Some fonts stopped working #37

Closed sciurius closed 2 years ago

sciurius commented 2 years ago

The attached program uses the Amiri font. I 100% sure it used to work in the past (I have PDF docs to prove it) but now I only get a blank page. Inspection shows that the font is embedded, the glyphs are emitted (I can copy them from the PDF) but nothing shows.

The Amiri font is installed from the Fedora repository. I tried PDF::API2 from git, and PDF::Builder from git.

Any clues?

amiri.pl.txt

vadim-160102 commented 2 years ago

see https://github.com/aliftype/amiri/issues/225

sciurius commented 2 years ago

Thanks. Of all possible solutions it seems that "instructing PDF::API2 not to subset" is most easily achieved.

sciurius commented 2 years ago

Apparently, the Google Roboto fonts are also affected.