Include "fontset.h".
authorhanda <handa>
Wed, 17 Aug 2005 13:00:30 +0000 (13:00 +0000)
committerhanda <handa>
Wed, 17 Aug 2005 13:00:30 +0000 (13:00 +0000)
commit5050e529cf5f8ab0402f16c0a48265bd1e6f3fc7
treeeba60928bae155b938d9e5617adab26d37d6573a
parent61c2fc8411157cab8ab93c0b725e439d337684b4
Include "fontset.h".
(M_font_capability, M_font_list, M_font_list_len): New variables.
(font_score_priority): Change order of initial elements.
(font_score_shift_bits): Fix array size.
(common_weight): Add "thin", "semibold", and "heavy".
(common_stretch): Add "ultracondensed", "extracondensed",
"extraexpanded", and "utltraexpand".
(font_weight_regular, font_weight_normal, font_weight_medium): New
variables.
(gen_font_name): This function deleted.
(find_encoding): Set font->encoding.
(OTF_tag): New function.
(otf_script_list): New variable.
(load_otf_script_list): New function.
(find_script_from_otf_tag): New function.
(xlfd_parse_name): Set font->type and font->source.
(mfont__free_realized): Free chains rfonts.
(font_score): Renamed from mfont__score.
(Miso8859_1, Miso10646_1, Municode_bmp, Municode_full)
(Mapple_roman): New variables.
(mfont__init): Initilize new variables.  Initalize
default_encoding.encoding_name and
default_encoding.encoding_charset to Municode_full and
mcharset__unicode.  Use SAFE* macros for allocating filepath
buffer.
(mfont__fini): Free otf_script_list.
(mfont__id): New function.
(mfont__match_p): Check also capability member of MFont.
(mfont__merge): New funciton.
(mfont__set_spec_from_face): Set type and source members.
(mfont__set_spec_from_plist): Set capability and type members.
(mfont__select): Argument changed.
(mfont__available): New function.
(compare_font_score): New function.
(mfont__list): New function.
(mfont__open): Return a realized font.
(mfont__resize): Adjusted for the change of MFont.
(mfont__has_char): New function.
(mfont__encode_char): Argument changed.
(mfont__set_spec): Argument changed.
(free_font_capability): New function.
(mfont__get_capability): New function.
(MFontfile): New variable.
(mfont_get_prop): Adjusted for the change of MFont.
(mfont_put_prop): Likewise.
(mfont_set_selection_priority): Fix the way of setting
font_score_priority[].
(mfont_find): Use mfont__list instead of mfont__select.
(mfont_resize_ratio): Adjusted for the change of MFont.
(mfont_list): Use mfont__list.
(mfont_check): New function.
src/font.c