Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 687 Bytes

File metadata and controls

31 lines (20 loc) · 687 Bytes

WebFontGenerator

This is a class to generate CSS3 web fonts with Font Forge and PHP

Requirements

  • Command Line Access
  • FontForge (and dependencies)
  • PHP

Installation

Source: Open Font Library

Usage

<?PHP

require('convertFonts.class.php');

$converter = new convertFonts();
$converter->convert( 'fuck_yeah_fonts.otf' );

The convert function will ultimately output a zip file which has the following structure:

Current Limitations

  • Doesn't fully work. HAHA....