cybercog / php-svg-font

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:PHP 86.5%Language:Dockerfile 13.5%