Skip to content

jdodds/fonts-to-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

For generating Raphael fonts, you need to have imagemagick and php installed and in $PATH, and you need to have the cufon source installed, which you can get here.

call it like so: generate.sh /path/to/fonts /path/to/cufon/convert.php /path/tooutput/directory

For generating fpdf fonts, you need to have ttf2pt1 installed.

Call like so: php make-fpdf-fonts.php /path/to/fonts . It will put the files fpdf needs in /path/to/fonts/metrics. You can then tell fpdf where to look for them via define('FPDF_FONTPATH', /path/to/metrics'); wherever is appropriate

About

Utilities for generating metrics files and preview images from ttf fonts for different libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published