Skip to content

Colors in SFD source files (v0.8.4)

Corne2Plum3 edited this page Sep 30, 2023 · 4 revisions

The colors are valid for commits for versions 0.8.4 and above.

Introduction

I added colors to every glyphs in the .sfd file sources, telling the way they are built (Hue/Saturation/Value numbers for colors given in the image below.

Note: The colors may be different between two weights.

Gihpurs_sfd_colors_v0 840

(Numbers after the color name are the Hue value in HSV/HSL).

Tells about the outline width of the character:

Colors explained

Normal drawn glyphs

Glyphs that are drawn manually and where the color tells the thickness of the lines.

It has to be noted that to look nice and to avoid that effect where some glyphs looks thicker than others, the font uses different thickness for the lines.

Color Main usage Horizontal (w=400) Vertical (w=400) Horizontal (w=900) Vertical (w=900)
Cyan Uppercase 168 190 336 380
Green Lowercase 160 180 320 360
Orange Exponents 120 135 240 270
Yellow Accents ~134 ~140 ~190 ~268
Amber Accents ~117 ~128 ~150 ~160
  • Cyan: Thickness mainly used for uppercase letters and numbers (see table below).
  • Green: Thickness mainly used for lowercase letters (see table below).
  • Orange: Thickness mainly used for exponents/subscripts glyphs and thing that depends on it (see table below).
  • Yellow: Accents (see table below).
  • Amber: Accents but thinner than the yellow glyphs (see table below).

Other drawn glyphs

  • Grey: Same across all widths.
  • Light gray: Same across all widths but stolen from other fonts. Also may have been modified to meet the fonts' needs. (source in the comment in glyph info):
  • Red: Other. For example, would be 2 colors at the same time, or has an original process to be drawn. The details are in the comment in glyph info.

Accented glyphs

Made using Element -> Build -> Build Accented Glyph in Fontforge. There are 2 "levels" of accented glyphs, as Fontforge may use accented glyphs as a base to build another accented glyphs. The level 1 accented glyphs should be built BEFORE level 2 glyphs.

Note: unlike purple, it is not said if anchors points are used or not.

  • Blue: Level 1 accented glyph.
  • Azure: Level 1 accented glyph + some parts needs to be moved manually
  • Light blue: Level 2 accented glyph.
  • Light azure: Level 2 accented glyph + some parts needs to be moved manually

Composite glyphs

Made using Element -> Build -> Build Composite Glyph in Fontforge. Are basically duplicated glyph(s).

  • Purple: Composite glyph(s) without anchor points.
  • Light purple: Composite glyph(s) but with anchor points.
  • Pink: Composite glyph(s) but some parts have to be moved manually (and if I remember correctly there isn't any anchor points).