cybercog/php-svg-font

PHP SVG font parser

1.0.0 2024-01-04 13:05 UTC

This package is auto-updated.

Last update: 2024-10-04 18:11:58 UTC


README

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