/* Draws a string using the supplied anti-aliased font, centering it on the specified X/Y co-ordinate.  */
void aafontsCenterString(uint16_t x, uint16_t y, const uint16_t *colorTable, const aafontsFont_t *font, char *str)
/* Draws a string using the supplied anti-aliased font, centering it on the specified X/Y co-ordinate.  */
void aafontsCenterString(uint16_t x, uint16_t y, const uint16_t *colorTable, const aafontsFont_t *font, char *str)
{
  uint32_t stringWidth;
  stringWidth = aafontsGetStringWidth(font, str);
  aafontsDrawString(x - stringWidth/2, y, colorTable, font, str);
}