Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 2.32 KB

fonts.md

File metadata and controls

54 lines (29 loc) · 2.32 KB

Fonts

< Overview

Stipple Effect uses the underlying Delta Time library to load and display fonts. Thus, the program's native system fonts, as well as user-defined fonts uploaded for use by the text tool at runtime, must comply with Delta Time's font standard.

Font files

Format

Stipple Effect font files must have the following dimensions:

  • Width: multiple of 319px
  • Height: multiple of 303px

Parsed pixel colors

  • Red (#ff0000) - parsed as part of the glyph associated with its bounding box
  • Green (#00ff00) - parsed as left- or right pixel boundary of the glyph associated with its bounding box at that particular pixel height

Read more:

Boundary enforcement

Explicitly defining boundaries using the color green can a few applications, including:

Monospaced and proportional font comparison

  • enforcing spacing for sequences of characters that would otherwise overlap or interlock

How characters may interlock or overlap if boundaries are not explicitly defined

Character sets

Fonts support following character sets:

Default ASCII set provided by Stipple Effect as a template

  • Latin Extended

Default Latin Extended set provided by Stipple Effect as a template

Future updates will aim to extend the characters supported by fonts, which will eventually mean additional character sets.

The ASCII character set is must be provided by user-defined fonts. Additional character sets are optional.

Uploading fonts

Fonts can be uploaded while using the text tool with Shift + T, or by clicking on in the tool options bar.