Giter Club home page Giter Club logo

homebrew-webfonttools's Introduction

Homebrew web font tools

brew tap bramstein/webfonttools
brew install woff2

Or install any of the following formulas with brew install <formula>:

  • afdko: The Adobe Font Development Kit for OpenType.
  • sfnt2woff: Tool for converting TrueType and OpenType font files to WOFF made by Jonathan Kew. This installs two utilities sfnt2woff to compress and woff2sfnt to decompress.
  • sfnt2woff-zopfli: Modified version of sfnt2woff that uses the Zopfli compression algorithm (2-5% better compression than standard WOFF). This installs two utilities sfnt2woff-zopfli to compress and woff2sfnt-zopfli to decompress.
  • woff2: WOFF2 compression and decompression utilities by Google. This installs two utilities woff2_compress to compress and woff2_decompress to decompress.
  • ttf2eot: Tool for converting TrueType font files to the embedded OpenType format (EOT). Does not include MTX compression. The installed utility is called ttf2eot.
  • sfntly: Google's subsetting and font conversion tools. This will install two utilities called sfnttool and fontinfo. The sfnttool utility performs subsetting and can also create WOFF and EOT files. The fontinfo utility shows you information about a font.
  • fonttools: TTX/fonttools (this package is now in homebrew-core, you can brew install it without this tap).
  • ots: OpenType sanitiser

Recommendations

So which tool should you use to create web fonts? I recommend the following because they create the smallest possible font files:

  • WOFF2: Use woff2.
  • WOFF: Use sfnt2woff-zopfli if you're generating static files, use sfnt2woff or fonttools if you're dynamically generating WOFF files.
  • EOT: Use sfntly's sfnttool with the -e and -x options to generate compressed EOT files.

homebrew-webfonttools's People

Contributors

bramstein avatar cameronmalek avatar davelab6 avatar jackjennings avatar mashabow avatar robmck-ms avatar verhovsky avatar

Watchers

 avatar

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.