opentype.js - Read and write OpenType fonts using JavaScript.

  •        23

opentype.js is a JavaScript parser and writer for TrueType and OpenType fonts. It gives you access to the letterforms of text from the browser or node.js.

https://opentype.js.org/
https://github.com/nodebox/opentype.js

Dependencies:

string.prototype.codepointat : ^0.2.0
tiny-inflate : ^1.0.2

Tags
Implementation
License
Platform

   




Related Projects

Office-Code-Pro - Customized version of Source Code Pro

  •    

Office Code Pro is a customized version of Source Code Pro, the monospaced sans serif originally created by Paul D. Hunt for Adobe Systems Incorporated. The customizations were made specifically for text editors and coding environments, but are still very usable in other applications.Available Formats OpenType, TrueType, EOT, WOFF, WOFF2 – OpenType ( OTF ) is the recommended font format for desktop use. The TrueType ( TTF ) fonts will work in most circumstances, but are optimized and recommended as webfonts. EOT, WOFF, and WOFF2 formats are exclusively for web use.

source-serif-pro - Serif typeface for setting text. Designed to complement Source Sans Pro

  •    Shell

Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro family. In addition to functional OpenType fonts, this open source repository provides all of the source files that were used to build them using the Adobe Font Development Kit for OpenType (AFDKO). To build the binary font files from source, you need to have the Adobe Font Development Kit for OpenType (AFDKO) installed. The AFDKO tools are widely used for font development today, and are part of most font editor applications.

source-han-sans - Source Han Sans | 思源黑体 | 思源黑體 | 源ノ角ゴシック | 본고딕

  •    Objective-J

Source Han Sans is a set of OpenType/CFF Pan-CJK fonts. In addition to functional OpenType fonts, this open source project provides all of the source files that were used to build these OpenType fonts by using the AFDKO makeotf and otf2otc tools. To help decide which fonts to download, please refer to the Configurations section of the official font readme file. Those who are unfamiliar with GitHub are encouraged to reference the official Source Han download guide, which is provided in English, Japanese, Korean, Simplified Chinese, and Traditional Chinese.

source-han-serif - Source Han Serif | 思源宋体 | 思源宋體 | 源ノ明朝 | 본명조

  •    Objective-J

Source Han Serif is a set of OpenType/CFF Pan-CJK fonts. In addition to functional OpenType fonts, this open source project provides all of the source files that were used to build these OpenType fonts by using the AFDKO makeotf and otf2otc tools. To help decide which fonts to download, please refer to the Configurations section of the official font readme file. Those who are unfamiliar with GitHub are encouraged to reference the official Source Han download guide, which is provided in English, Japanese, Korean, Simplified Chinese, and Traditional Chinese.

source-code-pro - Monospaced font family for user interface and coding environments

  •    Python

Source Code Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments. In addition to a functional OpenType font, this open source project provides all of the source files that were used to build this OpenType font by using the AFDKO makeotf tool. To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.


source-sans-pro - Sans serif font family for user interface environments

  •    Shell

Source Sans Pro is a set of OpenType fonts that have been designed to work well in user interface (UI) environments. In addition to a functional OpenType font, this open source project provides all of the source files that were used to build this OpenType font by using the AFDKO makeotf tool. To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

otfcc - Optimized OpenType builder and inspector.

  •    C

The otfcc is a C library and utility used for parsing and writing OpenType font files. You can download the prebuilt binaries here.

BezierInfo-2 - A from-the-ground-up rewrite of https://pomax

  •    PHP

Both operations run continuous linting. Also note that there are specific requirements for development, see the section on dev requirements below. All fonts come with TeXLive and MiKTeX, and should be easy to install. Note that you will need the modern OpenType (otf/ttf) fonts, not the obsolete type1 fonts.

3270font - A 3270 font in a modern format

  •    Makefile

This font is derived from the x3270 font, which, in turn, was translated from the one in Georgia Tech's 3270tool, which was itself hand-copied from a 3270 series terminal. I built it because I felt terminals deserve to be pretty. The .sfd font file contains a x3270 bitmap font that was used for guidance. If you are running Debian or Ubuntu and you don't want to mess with building your font files, you can simply apt-get install fonts-3270 (It's available from the Debian (https://packages.debian.org/sid/fonts/fonts-3270) and Ubuntu (http://packages.ubuntu.com/zesty/fonts-3270) package repos at https://packages.debian.org/sid/fonts/fonts-3270 and http://packages.ubuntu.com/xenial/fonts/fonts-3270, although the packaged version may not be the latest version, but it's good enough for most purposes. For those who don't have the luxury of a proper system-managed package, Adobe Type 1, TTF, OTF and WOFF versions are available for download on http://s3.amazonaws.com/3270font/3270_fonts_b3b4b7d.zip (although this URL may not always reflect the latest version).

fontmake - Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType).

  •    Python

This library provides a wrapper for several other Python libraries which together compile fonts from various sources (.glyphs, .ufo) into binaries (.otf, .ttf). Fontmake requires Python 2.7, 3.5 or later.

normalize-opentype.css - Adds OpenType features—ligatures, kerning, and more—to Normalize.css.

  •    HTML

Note You might also like my more recent take on this project, Utility OpenType: CSS utility classes for advanced typographic features. Adds OpenType features—ligatures, kerning, and more—to Normalize.css.

TTX/FontTools

  •    C

TTX is a tool to convert OpenType and TrueType fonts to and from XML. FontTools is a library for manipulating fonts, written in Python. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.

LinuxLibertine.org

  •    

We develop 2 artful digital font-families called “Linux Libertine” (serif font) and “Biolinum” (sans-serif). Both elegant good-readable Unicode fonts for daily amp; professional use (see OpenType amp; WOFF). Break the monotony of (c) W*ndows Fonts!

google-webfonts-helper - A Hassle-Free Way to Self-Host Google Fonts

  •    Javascript

This service might be handy if you want to directly download all .eot, .woff, .woff2, .svg, .ttf files of a Google font (normally your User-Agent would determine the best format at Google's CSS API). Furthermore it provides charset customization and CSS snippets, hence getting your fonts ready for local hosting should be finally a breeze. The API is public, feel free to use it directly.

OTF2TeX

  •    Shell

otf2tex is a system for converting OpenType fonts for use with TeX, and for utilizing many of the features found in OpenType fonts. Included are scripts for converting and installing the fonts, and TeX inputs for using the fonts.

Typr.js - Typr.js - process fonts in Javascript

  •    Javascript

LIVE DEMO Typr.js is a Javascript parser and utility for working with fonts (TTF, OTF). It is an alternative to opentype.js. It is the main text engine for Photopea image editor. The output object has a structure, wich corresponds to the structure of the TTF/OTF file. I.e. it is a set of tables, each table has its own structure.

svg2ttf - SVG -> TTF font convertor

  •    Javascript

Converts SVG fonts to TTF format. It was initially written for Fontello, but you can find it useful for your projects. Internal API is similar to FontForge's one. Since primary goal is generating iconic fonts, sources can lack some specific TTF/OTF features, like kerning and so on. Anyway, current code is a good base for development, because it will save you tons of hours to implement correct writing & optimizing TTF tables.

codeface - Typefaces for source code beautification

  •    Python

Each typeface directory in the repository now includes a vertical metrics table (vertical_metrics.txt). Combine the data in these reference tables with the new font-line tool to modify any font to the line spacing that suits your needs. Tighten up or keep it loose.