Skip to content

Latest commit

 

History

History
64 lines (32 loc) · 2.65 KB

2-chromatic-layers.md

File metadata and controls

64 lines (32 loc) · 2.65 KB

Using chromatic layers

Available layers

Besides the Regular style, Bungee also comes with Inline, Outline, and Shade layer fonts. These fonts can be stacked on top of one another to create unique and dimensional displays.

Available layers

When using vertical text with Bungee’s shade layer, it may be advisable to add some tracking or letterspacing.

In design apps

No design apps have native support for chromatic layers.

In one text box, set a line of matching text for each layer. Using the Bungee Layers font, style each line, starting with the backmost layer (Shade) and ending with the frontmost (Inline).

Step 1

Add colors to each line.

Step 2

When you are finished, select all of the text, and set the leading/linespacing to 0.

Step 3

To edit the text, do a find and replace, or increase the leading.

Instead of zeroing out the leading, you can also set each layer in a separate text block, but it takes additional work to manage their alignment and arrangement in the z axis.

Besides changing fill colors, you can use strokes to outline the fonts. To match the weight of the Inline style, divide the font’s point size by 100. For example, when the font is 300pt, you can match the Inline weight by using a 3pt stroke.

Stroke

On the web

Layered divs

Bungee.js is a bit of javascript that will duplicate text in overlaid divs, giving the appearance of layered text without cluttering your markup.

<script type="text/javascript" src="bungee.js">
<div id="bungee">Layered text!</div>

As an image

When only single letters or small bits of text are required, or the text is especially illustrative, it may not be worth it to load multiple font files. Instead, you can use a SVG with alternate text specified.

<svg src="images/layeredText.svg" alt="Layered text" />

Bungee.js

For information on how to use Bungee.js to build Bungee layouts on the fly, see the bungee.js documentation.

Color font formats

The Bungee Color family contains experimental fonts in the various color font formats out there, including SVG (Adobe/Mozilla), COLR/CPAL (Microsoft) and sbix (Apple).

These fonts were built with Jens Kutilek’s RoboChrome.