phorge/externals/pear-figlet
Christopher Speck bc6f4786a2 Fix support for pk-zip compressed figlet font files
Summary: The change from https://secure.phabricator.com/D21860 introduced a PHP error due to an invalid variable reference (`zip` instead of `$zip`). This fixes that issue as well as confirms that pk-zip compressed figlet font files can continue to be used/loaded.

Test Plan:
1. I ensured I had numerous figlet font files installed in `resources/figlet/custom` and used `file` to verify that `univers.flf` and `puffy.flf` are pk-zip archives.
2. With this change applied I added a comment with `figlet(font=univers){{{hello}}}` and verified that the comment used the univers font to render `hello`, and like-wise with the `puffy` font.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D21861
2023-04-25 16:30:29 -04:00
..
docs Include "Figlet" and PEAR "Text_Figlet" in externals 2015-09-13 12:30:48 -07:00
fonts Include "Figlet" and PEAR "Text_Figlet" in externals 2015-09-13 12:30:48 -07:00
Text Fix support for pk-zip compressed figlet font files 2023-04-25 16:30:29 -04:00