How to convert TTF font for use in three.js -
i looking library convert ttf or otf font js font.
i aware of converter tool http://typeface.neocracy.org/fonts.html
however know how site making conversion. can implement conversions of font files myself.
ideally looking js or php library accomplish this.
the converter typeface.js
uses server-side perl scripts , the sources on launchpad.
here extract readme:
use typefacejs; $typeface = typefacejs::new->( input_filename => "truetype_font.ttf", unicode_range_names => ['basic latin', 'latin-1 supplement'], ); $typeface->write_file( output_filename => 'font.typeface.js' );
Comments
Post a Comment