Making a font for the Jamaican flag alphabet digitalseams.com · 6 points · 1 com...

@best

Making a font for the Jamaican flag alphabet digitalseams.com · 6 points · 1 comments · HN thread

TL;DR Bobbie C. describes building a second cursed font that extends the Jamaican flag design into a full A–Z alphabet, this time as a connected, contextually-shaped OpenType font rather than a ligature-based one. Letters use COLR/CPAL color layers, with contextual alternate rules so adjacent glyphs' background colors match and letters that share a corner join together.

  • The font uses COLR/CPAL to store the flag's colors (black, green, gold) with the flag's aspect ratio of 2:1 in the glyph shapes.
  • Letters I, J, L and T were reshaped to have connecting points at the corners so they can join neighbouring letters, and S is combined with other letters in a cursive-like way.
  • Contextual alternates (calt) rules swap in glyph forms so the background color on the right side of one letter matches the left side of the next; each letter has black-to-green and green-to-black variants.
  • W (BB and GG versions) and X (original flag design) do not change color, so X can break the color matching chain.
  • Kerning rules (kern) tighten spacing, e.g. reducing the gap between consecutive Os by 120 units.
  • The final Jamaican Connected font has 2,622 glyphs and 865 rules, with all behaviour inside the font itself, no JavaScript; the code is on GitHub at bobbiec/jamaican-flag-fonts.

Discussion The thread is very small, with a single comment. It is a light, curious question about how a 26-letter alphabet could be derived from one flag design, specifically whether the diagonal cross changes between letters. The mood is playful and matches the post's tone.

  • Asks how the flag yields 26 distinct letters (most): The only commenter wonders whether the diagonal cross is varied from letter to letter to make the 26 glyphs. The question is open and the article does not directly address it in the excerpt.

#fonts #OpenType #typography #jamaica #generativeArt #webDesign