Include <stdlib.h> and "ccl.h".
authorKenichi Handa <handa@m17n.org>
Wed, 14 May 2008 01:42:33 +0000 (01:42 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 14 May 2008 01:42:33 +0000 (01:42 +0000)
commitf0c557507cae98312e85c88e88562e6fbe52496d
tree6751e3a0281371655a60847fd7c6d263787e26f0
parentb51238f5ce0a25760f1779655e587f1f284caaa4
Include <stdlib.h> and "ccl.h".
(struct xfont_info): New structure.
(xfont_query_font): Deleted.
(xfont_find_ccl_program): Renamed from x_find_ccl_program and
moved from xterm.c.
(xfont_driver): Adjusted for the change of struct font_driver.
(compare_font_names): New function.
(xfont_list_pattern): Sort font names case insensitively.  Make
font_entity by calling font_make_entity.  Avoid auto-scaled fonts.
(xfont_list): Return a list, not vector.
(xfont_match): If the font doesn't have QCname property, generate
a name from the other font properties.
(xfont_open): Return a font-ojbect.  Adjusted for the change of
struct font.  Get underline_thickness and underline_position from
font property.  Don't update dpyinfo->smallest_font_height and
dpyinfo->smallest_char_width.
(xfont_close): Don't free struct font.
(xfont_prepare_face): Adjusted for the change of struct font.
(xfont_done_face): Deleted.
(xfont_has_char): Adjusted for the change of struct font.
(xfont_encode_char, xfont_draw): Likewise.
(xfont_check): New function.
src/xfont.c