Skip to content

doxhung/webfont-generator

 
 

Repository files navigation

webfont-generator

Web interface written in PHP to wrap many font converting tools. Install them before using webfont-generator.

Screenshot

# Clone current project to your webserver root
git clone https://github.com/ambroisemaupate/webfont-generator.git
# Create your own config file
cp config.default.yml config.yml
# adapt your binaries paths to suit your system (unices, Mac OSX)
#
# Install dependencies using Composer
composer install

Then you should be able to see a basic file form on your browser.

Webfont Generator is released by Ambroise Maupate under MIT license.

Mac OS X

To install FontForge, you wont need to setup XQuartz as we only need the command line tool. Copy FontForge.app to your Application folder, so fontforge unix binary should be located here /Applications/FontForge.app/Contents/Resources/opt/local/bin/fontforge.

For other converters, just download sources and compile them. For example with ttf2eot:

# Untar downloaded sources and open folder in your Terminal app
cd /Users/ambroisemaupate/Downloads/ttf2eot-0.0.2-2
# Compile sources
make
# Install binary globally
sudo cp ttf2eot /usr/bin/ttf2eot
# It should ask your computer account password
# Then verify that converter binary is available
whereis ttf2eot
# this should print "/usr/bin/ttf2eot"

Follow the same process with other converters.

About

Web interface written in PHP to wrap font converters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.5%
  • HTML 6.0%
  • CSS 2.5%