{"repo":"opentypejs/opentype.js","free":true,"listed":false,"github":"https://github.com/opentypejs/opentype.js","clone":"git clone https://github.com/opentypejs/opentype.js.git","description":"Read and write OpenType fonts using JavaScript.","language":"JavaScript","stars":5010,"topics":["opentype","javascript","truetype","font","kerning","opentypejs","glyphs","nodejs","otf"],"license":"MIT","category":"dev-tools","readme_excerpt":"opentype.js It gives you access to the letterforms of text from the browser or Node.js. See https://opentype.js.org/ for a live demo. 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 ligatures. Support for TrueType font hinting. Support arabic text rendering (See issue #364 & PR #359 #361) Support for emojis and other SVG or COLR/CPAL color glyphs A low memory mode is available as an option (see #329) Runs in the browser and Node.js. Installation via CDN Select one of the following sources in the next example: - https://opentype.js.org/dist/opentype.js - https://cdn.jsdelivr.net/npm/opentype.js - https://unpkg.com/opentype.js via npm package manager Using TypeScript? See this example Contribute If you plan on improving or debugging opentype.js, you can: - Fork the opentype.js repo - clone your fork git clone git://github.com/yourname/opentype.js.git - move into the project cd opentype.js - install needed dependencies with npm install - make your changes - option A: for a simple build, use npm run build - option B: for a development server, use npm run start and navigate to the /docs folder - check if all still works fine with npm run test - commit and open a Pull Request with your changes. Thank you! Maintainer Releases Releases are published from the manual Publish package to npm","default_branch":null,"files":null,"tree":[],"storefront":"/r/opentypejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/opentypejs/opentype.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}