DirectFB Reference Manual
IDirectFBFont   GetMaxAdvance

Get the maximum character width.

GetMaxAdvance (
  IDirectFBFont *thiz
  int *maxadvance
);

This is a somewhat dubious value. Not all fonts specify it correcly. It can give you an idea of the maximum expected width of a rendered string.

  (C) Copyright by convergence GmbH