ssimms / pdfapi2

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

Add PDF::API2::Resource::Font::CoreFont::standard_fonts(). #76

Closed sciurius closed 6 months ago

sciurius commented 9 months ago

Add class method standard_fonts() to PDF::API2::Resource::Font::CoreFont to return the list of the 14 standard fonts.

It is often convenient to have this list at hand.

ssimms commented 6 months ago

I've just committed a similar version of this request, including accessors for the list and is_standard in the base PDF::API2 class. Thanks!