Use FT_BDF_H macro. Include fontconfig/fcfreetype.h.
authorhanda <handa>
Fri, 14 Jul 2006 07:01:55 +0000 (07:01 +0000)
committerhanda <handa>
Fri, 14 Jul 2006 07:01:55 +0000 (07:01 +0000)
commit77ecbe3ab626a97acbf835a3e0948e3f56218311
treef363d7d44541c10c4791f421b374c60f265d6789
parent6d11bfa4b9bdeea1dc87100cdd49b6209b5246e1
Use FT_BDF_H macro.  Include fontconfig/fcfreetype.h.
(MRealizedFontFT): New member face_encapsulated.
(free_ft_rfont): Pay attention to ft_rfont->face_encapsulated.
(ft_gen_font): New function.
(ft_add_font): Use ft_gen_font.
(ft_list_script): Store lists in ft_script_list.
(ft_check_otf): New arg ft_face.  Caller changed.
(ft_check_language): Likewise.
(ft_check_script): Likewise.
(ft_encapsulate, ft_close): New functions.
(mfont__ft_driver): Initialize members encapsulate and close.
(mfont__ft_drive_otf): Use OTF_open_ft_face if it is available.
src/font-ft.c