789 |
fontp->relative_compose = bdf_font->relative_compose; |
fontp->relative_compose = bdf_font->relative_compose; |
790 |
fontp->default_ascent = bdf_font->default_ascent; |
fontp->default_ascent = bdf_font->default_ascent; |
791 |
|
|
792 |
|
/* Set global flag fonts_changed_p to non-zero if the font loaded |
793 |
|
has a character with a smaller width than any other character |
794 |
|
before, or if the font loaded has a smaller height than any |
795 |
|
other font loaded before. If this happens, it will make a |
796 |
|
glyph matrix reallocation necessary. */ |
797 |
|
fonts_changed_p |= x_compute_min_glyph_bounds (f); |
798 |
|
|
799 |
UNBLOCK_INPUT; |
UNBLOCK_INPUT; |
800 |
dpyinfo->n_fonts++; |
dpyinfo->n_fonts++; |
801 |
return fontp; |
return fontp; |
802 |
} |
} |
803 |
|
|
804 |
/* Check a file for an XFLD string describing it. */ |
/* Check a file for an XLFD string describing it. */ |
805 |
int w32_BDF_to_x_font (char *file, char* xstr, int len) |
int w32_BDF_to_x_font (char *file, char* xstr, int len) |
806 |
{ |
{ |
807 |
HANDLE hfile, hfilemap; |
HANDLE hfile, hfilemap; |