Skip to content

cybercog/php-svg-font

Repository files navigation

PHP SVG Font

Releases Build License

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

About CyberCog

CyberCog is a Social Unity of enthusiasts. Research the best solutions in product & software development is our passion.

CyberCog