• Dmitry Antipov's avatar
    One more minor cleanup of font subsystem. · 8661ebaa
    Dmitry Antipov authored
    * font.h (struct font_driver): Convert text_extents to
    return void because returned value is never actually used.
    * macfont.c (macfont_text_extents):
    * w32font.c (w32font_text_extents):
    * xftfont.c (xftfont_text_extents): Adjust to return void
    and assume that 'metrics' argument is always non-NULL.
    * ftfont.c (ftfont_text_extents):
    * xfont.c (xfont_text_extents): Likewise.  Avoid redundant memset.
    8661ebaa
xftfont.c 21.9 KB