opentype.js is an OpenType and TrueType font parser and writer. It allows you to access the letterforms of text from the browser or node.js. Once you have the shapes, you can modify them, for example by snapping them to a virtual grid. opentype.js provides you with raw access to the glyphs so you can modify them as you please. Create a bézier path out of a piece of text. Support for composite glyphs (accented letters). Support for WOFF, OTF, TTF (both with TrueType glyf and PostScript cff outlines) Support for kerning (Using GPOS or the kern table). Support for ligatures. Support for TrueType font hinting. Support arabic text rendering (See issue #364 & PR #359 #361) A low memory mode is available as an option (see #329) Runs in the browser and Node.js.

Features

  • Create a bézier path out of a piece of text
  • Support for composite glyphs (accented letters)
  • Support for WOFF, OTF, TTF (both with TrueType glyf and PostScript cff outlines)
  • Support for kerning (Using GPOS or the kern table)
  • Support for TrueType font hinting
  • Support arabic text rendering (See issue #364 & PR #359 #361)
  • Runs in the browser and Node.js

Project Samples

Project Activity

See All Activity >

Categories

Fonts

License

MIT License

Follow opentype.js

opentype.js Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of opentype.js!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Fonts

Registered

2022-11-11