Skip to content

Commit

Permalink
Update Setting_a_font.json
Browse files Browse the repository at this point in the history
  • Loading branch information
auexicek authored Mar 27, 2024
1 parent be8f5e6 commit 43738b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion guides/Setting_a_font.json
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
--[[pod_format="raw",created="2024-03-26 20:37:00",modified="2024-03-26 20:40:27",revision=3]]
{"elements":[{"type":"label","text":"It is pretty simple, you just choose a font\n(usually from /system/fonts/), and then you\njust paste this into your code:"},{"type":"snippet","text":"-- [path] = path to your font\npoke(0x4000,get(fetch(\"[path]\")))"},{"type":"label","text":"This works by poking the memory of your\ncart's memory with the unpodded font\nyou've chosen.\nFor example:"},{"type":"snippet","text":"poke(0x4000,get(fetch(\"/system/fonts/lil_mono.font\")))\n--[[\n\tthis sets the lil_mono.font as the font for\n\tyour program\n]]"}],"metadata":{"page_title":"Setting a font","version":"0.4","authors":["auexicek"]}}

0 comments on commit 43738b8

Please sign in to comment.