This example demostrates the APIs around text rendering and fonts.
Similar to the simple example it binds Rocky.js to a canvas, and update the output at a regular interval.
This example uses fonts_get_system_font()
to load one of Pebble's system fonts,
as well as fonts_load_custom_font()
and fonts_load_custom_font_with_data()
to load custom fonts.
Read more about custom fonts at the developer documentation page.