mekkablue/webfontmaker
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
IMPORTANT UPDATE Don’t use webfontmaker. Glyphs 2 can write webfonts out of the box. I will leave this up here for reference, but it is not supported anymore. The installation instructions are outdated. If you cannot get it to work, please download Glyphs 2 or use FontSquirrel. ABOUT webfontmaker.sh takes any number of PS-flavored OTF files and creates corresponding TTF (unhinted and autohinted), EOT (unhinted and autohinted), (PS-flavored) WOFF and SVG. Running the script again will overwrite all previous output. INSTALLATION INSTRUCTIONS 1. Install FontForge and ttfautohint: - Install Xcode from the App Store. - Run Xcode and confirm the additional installs it needs. - Xcode > Preferences > Downloads > install 'Command Line Tools'. - Install the latest version of XQuartz from http://xquartz.macosforge.org/landing/ - If the XQuartz installer seems stalled at "Preparing installation", force quit the installer, restart your Mac, and try again. - Install Homebrew in Terminal: ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)" brew install https://raw.github.com/ummels/homebrew/fontforge/Library/Formula/fontforge.rb brew install ttfautohint brew doctor brew linkapps 2. Install sfntly: svn co http://sfntly.googlecode.com/svn/trunk/ /Applications/sfntly/ cd /Applications/sfntly/java/ ant 3. Install sfnt2woff: - Download sfnt2woff ('spline font to WOFF') for OS X from http://people.mozilla.com/~jkew/woff/ (hint: opt-click the 'precompiled version for Mac OS X'). - Move sfnt2woff into the Applications folder. - In the Terminal, you enter: chmod +x /Applications/sfnt2woff mkdir /usr/local/bin/ sudo ln -s /Applications/sfnt2woff /usr/local/bin/ USAGE INSTRUCTIONS - Create your own Meta.xml or use the one provided in this repository. More Info: http://www.w3.org/TR/WOFF/ - Put Meta.xml, webfontmaker.sh and any number of OTF files in the same folder. - In Terminal, navigate into that folder, then type: sh webfontmaker.sh - or use a x.xxx version number as parameter: sh webfontmaker.sh 2.302 - If no version number is present, the script assumes 1.001.
About
Mac shellscript for converting OTF to TTF, EOT, SVG and WOFF.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published