Skip to content

mattynoce/php-font-awesome-to-png

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Font Awesome to PNG

This program allows you to extract the awesome [Font Awesome] (http://fortawesome.github.com/Font-Awesome/) icons as PNG images of specified size.

Usage

To use the program, you need the Font Awesome TTF file & _variables.scss file, which is available in [Font Awesome Github repository] (https://github.com/FortAwesome/Font-Awesome).

  • download fontawesome and unzip
  • copy scss_variables.scss over as _variables.scss
  • copy fonts\fontawesome-webfont.ttf over as fontawesome-webfont.ttf
  • copy configs.php.dist and rename to configs.php
  • edit configs.php to match your environment
  • run generateIconData.php from browser or CLI to generate icons.data.php base on _variables.scss
  • run generate.php to generate png icon images

About

convert font awesome to png using php code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%