diff --git a/components/pax-graphics b/components/pax-graphics index ad01c27..ef61caf 160000 --- a/components/pax-graphics +++ b/components/pax-graphics @@ -1 +1 @@ -Subproject commit ad01c27da13e22a7a167cf5677d218a41a816e08 +Subproject commit ef61caff38ac1c238ad1fb907174255a19fa4809 diff --git a/main/main.c b/main/main.c index 2ee9ba7..a48c957 100644 --- a/main/main.c +++ b/main/main.c @@ -47,7 +47,7 @@ void app_main() { // This text is shown on screen. char *text = "Hello, World!"; // Pick the font to draw in (this is the only one that looks nice this big). - const pax_font_t *font = pax_get_font("saira condensed"); + const pax_font_t *font = pax_font_saira_condensed; // Determine how large the text is so it can be centered. pax_vec1_t dims = pax_text_size(font, font->default_size, text); // Use info to draw the centered text.