Don't include <fontconfig/fontconfig.h> here.
authorhanda <handa>
Thu, 30 Sep 2004 00:03:00 +0000 (00:03 +0000)
committerhanda <handa>
Thu, 30 Sep 2004 00:03:00 +0000 (00:03 +0000)
commit94fd954d84893d2544311bfdab2ecd83580dbf24
treec6b31967293b905debdbd8889c51d8f8df83545f
parent8dd2171ec49e473f44d959725ed2daf44503e22e
Don't include <fontconfig/fontconfig.h> here.
(Mserif, Msans_serif, Mmonospace, Mmedium, Mr, Mnull): New
variables.
(ft_family_list): New variable.
(set_font_info): New arg basep.  Callers changed.
(fc_list): Check the return value of FcPatternGetString.
(add_font_info): New arg plist.  Callers changed. Update
ft_family_list.
(ft_list_family): New function (merged fc_list and ft_list_all).
(ft_select): Use ft_list_family.
(ft_list): Likewise.  If FONT is not NULL, check all fonts.
(mfont__ft_init): Initialize above new variables.
(mfont__ft_fini): Free ft_family_list.
src/font-ft.c