Skip to content

Instantly share code, notes, and snippets.

View theonesean's full-sized avatar

Sean Bailey theonesean

View GitHub Profile
@theonesean
theonesean / cg_font.asm
Created March 12, 2018 00:04
a 4x5 variable width font for MARS MIPS
.data
# --------------------------------------------------------------------------------------------------
# CG font (benefits include: being 4x5 at max, not monospaced, and transparent)
# probably not worth it, speed-wise, for in-game stuff, but it certainly looks prettier than the cg font
# all glyphs are extreme left-aligned within their arrays, so make sure you test your kerning
# based on CG Pixel by vyznev, accessible at this link: https://fontstruct.com/fontstructions/show/1404171/cg-pixel-4x5
# modified and encoded by Sean Bailey
#
# NOTE: MUST USE THE FUNCTION display_blit_5x5_trans, or else all the letters will just show up as 5x5 blobs of white

Keybase proof

I hereby claim:

  • I am theonesean on github.
  • I am theonesean (https://keybase.io/theonesean) on keybase.
  • I have a public key whose fingerprint is 1FBE 5CBD 1743 974A 6330 8711 CC8F 6CB2 FE66 F62E

To claim this, I am signing this object: