ssimms / pdfapi2

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

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

Closed sciurius closed 3 months ago

sciurius commented 6 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 3 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!