759 |
void |
void |
760 |
scan_font_directory (char *path) |
scan_font_directory (char *path) |
761 |
{ |
{ |
|
struct font_description *description; |
|
762 |
char full_path [256]; |
char full_path [256]; |
763 |
struct dirent *de; |
struct dirent *de; |
764 |
DIR *dir; |
DIR *dir; |
815 |
|
|
816 |
/* Try to set font to <FONT_NAME, STYLE_NAME> and font size to SIZE. |
/* Try to set font to <FONT_NAME, STYLE_NAME> and font size to SIZE. |
817 |
If STYLE_NAME is NULL we try to find the regular font. */ |
If STYLE_NAME is NULL we try to find the regular font. */ |
818 |
bool |
int |
819 |
GFContextSelectFont (GFContextRef context, char *font_name, char *style_name, |
GFContextSelectFont (GFContextRef context, char *font_name, char *style_name, |
820 |
float size) |
float size) |
821 |
{ |
{ |