cybercog / php-svg-font
PHP SVG font parser
Fund package maintenance!
paypal.me/antonkomarev
Installs: 4 087
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- cybercog/php-unicode: ^1.0
Requires (Dev)
- ext-simplexml: *
- phpunit/phpunit: ^10.5
Suggests
- ext-simplexml: *
This package is auto-updated.
Last update: 2024-11-04 18:16:51 UTC
README
Introduction
PHP SVG Font files reader and manipulator. It uses PHP Unicode package under the hood.
Installation
Pull in the package through Composer.
composer require cybercog/php-svg-font
Usage
Instantiate FontList object
$fontList = \Cog\SvgFont\FontList::ofFile(__DIR__ . '/DejaVuSans.svg');
Retrieve SvgFont object from the FontList
$font = \Cog\SvgFont\FontList::ofFile(__DIR__ . '/DejaVuSans.svg')->getById('DejaVuSans');
License
PHP SVG Font
package is open-sourced software licensed under the MIT license by Anton Komarev.
About CyberCog
CyberCog is a Social Unity of enthusiasts. Research the best solutions in product & software development is our passion.