Giter Site home page Giter Site logo

fontconversion's Introduction

Font Conversion

Convert fonts in OTF, TTF, SVG or WOFF formats or autohint them (ADFKO or ttfautohint) by command line or contextual menu in Finder. Super easy.

#Command line usage

##Requirements Fontforge

##Usage

fontforge -script path/to/script.pe path/to/sourcefile

##Modification If you want to change the way the fonts are converted, just read the FontForge script tutorial at http://fontforge.org/scripting-tutorial.html and do your own changes in .pe files.

#Services ##Requirements OSX AFDK and/or ttfautohint (if you want to use the autohint option)

##Install OSX Services Copy font-converter folder to your user folder (/Users/yourusername/) Copy files under Services folder to ~/Library/Services/ or double click to install them.

Services files execute this command:

for f in "$@"
do
	/usr/local/bin/fontforge -script ~/font-converter/script.pe "$f"
done

You can change FontForge, scripts paths or parameters according to your needs. Just double click services to open them in Automator.

##Usage After copying services files to Services folder,

  • Open Finder
  • Select your file
  • Select Finder>Services menu. The different Services should be there. If not, restart Finder.
  • Select your prefered conversion

License

Copyright 2014 Andrés Torresi (@andrestorresi) - Huerta Tipográfica (@huertatipografica).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 See the License file included in this repository for further details.

fontconversion's People

Contributors

andrestelex avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

kant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.