Reference Manual - 1.0.1
IDirectFBFont   GetMaxAdvance

Get the maximum character width.

GetMaxAdvance (
  IDirectFBFont   * thiz,
  int   * ret_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.
这是一个有些不确定的值。不是所有字体正确的指定它。它能给你一个在绘制字符串时最大的宽度。

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License