• Kenichi Handa's avatar
    Include <stdlib.h> and "ccl.h". · f0c55750
    Kenichi Handa authored
    (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.
    f0c55750
xfont.c 22.3 KB