Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.66 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.66 KB

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