in ev3-api/src/ev3api_lcd.c [29:39]
ER ev3_font_get_size(lcdfont_t font, int32_t *width, int32_t *height) {
switch(font) {
case EV3_FONT_SMALL:
case EV3_FONT_MEDIUM:
if (width != NULL) *width = fonts[font]->width;
if (height != NULL) *height = fonts[font]->height;
return E_OK;
default:
return E_ID;
}
}