Update PAX.

This commit is contained in:
RobotMan2412 2022-07-03 13:30:30 +02:00
parent 888d6cbdf8
commit cafcde249e
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit ad01c27da13e22a7a167cf5677d218a41a816e08
Subproject commit ef61caff38ac1c238ad1fb907174255a19fa4809

View file

@ -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.