Variable Font Demo

This expirement is meant to allow a reader to play around with assorted settings for a typeface to potentially make it easier to read. In particular, I am using this as the first step in exploring the kinds of font traits an author can tweak to make content easier to read for users with dyslexia.

This pen is for my post Variable Fonts and Dyslexia. Go read it to understand how it can help users with dyslexia.

The font is Noboto Flex. I am not using all the features of the font as some of them do not appear to contribute directly to readability. Chrome/Blink, Edge browsers only.

Generic Text from Wikipedia

OpenType variable fonts are an adaptation of Apple's TrueType GX font variations to OpenType, with integration into key aspects of the OpenType format including OpenType Layout tables and both TrueType and CFF glyph outline formats. It also surpasses TrueType GX by providing better interoperability between different fonts and between variable fonts and font-formatting specification such as are found in Cascading Style Sheets. The technology allows software to access any design instance for a continuous range of designs defined within the font. When a specific design instance has been selected, the glyph outlines or other data values for that design instance are computed as font data is being processed during text layout and rasterization.

The technology uses interpolation and extrapolation mechanisms that have been supported in font-development tools and used by font designers for many years. In that paradigm, the font designer creates a variable design, but then chooses specific instances to generate as static, non-variable fonts that get distributed to customers. With variable fonts, however, the font produced and distributed by the font designer can have built-in variability, and the interpolation mechanisms can now be built into operating systems and Web browsers or other applications, with specific design instances selected at time of use.

One of the key benefits of the technology is that it can significantly reduce the combined size of font data whenever multiple styles are in use. On the Web, this may allow a site to use more font styles while at the same time reducing page load times. A further benefit is that it give access to a continuous range of style variations, which can provide benefits for responsive design.

The technology has been compared to Adobe's multiple master fonts (MM fonts) technology, also from the 1990s, which used on-the-fly generation of font designs from master files by interpolation and extrapolation. Multiple master fonts, however, required the user to generate a specific "instance" of the font for particular variation-axis values before it could be used. This is not required for OpenType variable fonts, however: named or arbitrary design instances can be selected and used on demand.