1. 21 Mar, 2000 9 commits
    • Kenichi Handa's avatar
      (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed. · 1afa4408
      Kenichi Handa authored
      (struct fontset_info, struct fontset_data): Structs removed.
      (allloc_fontset_data, free_fontset_data, fs_regiser_fontset,
      Vglobale_fontset_alist, font_idx_temp): Externs removed.
      (fs_load_font, fs_query_fontset): Adjusted for new argument.
      (fs_free_face_fontset, fontset_font_pattern,
      face_suitable_for_char_p, face_for_char,
      make_fontset_for_ascii_face): Extern them.
      (FS_LOAD_FONT): Adjusted for the change of fontset implementation.
      (FS_LOAD_FACE_FONT): New macro.
      1afa4408
    • Kenichi Handa's avatar
      All codes rewritten or adjusted for the change of · 0d407d77
      Kenichi Handa authored
      fontset implementation.  Now fontset is represented by char table.
      (Vglobal_fontset_alist, font_idx_temp, my_strcasetbl): Variables
      removed.
      (my_strcasecmp): Function removed.
      (Vfontset_table, next_fontset_id, Vdefault_fontset): New
      variables.
      (AREF, ASIZE): New macros.
      (FONTSET_FROM_ID, FONTSET_ID, FONTSET_NAME, FONTSET_FRAME,
      FONTSET_ASCII, FONTSET_BASE, BASE_FONTSET_P, FONTSET_REF,
      FONTSET_REF_VIA_BASE, FONTSET_SET): New macros.
      (fontset_ref, fontset_ref_via_base, fontset_set, make_fontset,
      fontset_id_valid_p, font_family_registry, fontset_name,
      fontset_ascii, free_face_fontset, face_suitable_for_char_p,
      face_for_char, make_fontset_for_ascii_face, fontset_font_pattern):
      New functions.
      (fs_load_font): New arg FACE.  Caller changed.
      (fs_query_fontset): Argument changed.  Caller changed.
      (Fquery_fontset): call fs_query_fontset.
      (fs_register_fontset, alloc_fontset_data, free_fontset_data):
      Functions removed.
      (clear_fontset_elements, check_registry_encoding,
      check_fontset_name): New functions.
      (syms_of_fontset): Set char-table-extra-slots property of fontset
      to 3.  Staticpro and initialize Vfontset_table and
      Vdefault_fontset.  Defsubr fontset_font and fontset_list.
      0d407d77
    • Kenichi Handa's avatar
      (optimize_sub_char_table): New function. · 52ef6c89
      Kenichi Handa authored
      (Foptimize_char_table): New function.
      (syms_of_fns): Defsubr Soptimize_char_table.
      52ef6c89
    • Kenichi Handa's avatar
      (struct glyph): New member glyph_not_available_p. · b3091a23
      Kenichi Handa authored
      Use 22 bits for face_id.
      (enum lface_attribute_index): Add LFACE_FONT_INDEX.
      (struct face): Delete member registry, new member ascii_face.
      (FACE_SUITABLE_FOR_CHAR_P): Renamed from
      FACE_SUITABLE_FOR_CHARSET_P.  Caller changed.
      (FACE_FOR_CHAR): Renamed from FACE_FOR_CHARSET.  Caller changed.
      (struct it): Delete member charset, new member
      glyph_not_available_p.
      b3091a23
    • Kenichi Handa's avatar
      9170cbcc
    • Kenichi Handa's avatar
      9111d4b5
    • Kenichi Handa's avatar
      (describe-font): Don't refer to · ee5f768d
      Kenichi Handa authored
      global-fontset-alist, instead call font-list.
      (describe-fontset, list-fontsets, mule-diag): Likewise.
      (print-fontset): Adjusted for the change of fontset
      implementation.
      ee5f768d
    • Kenichi Handa's avatar
      (x-charset-registries): Variable · 6eca8d93
      Kenichi Handa authored
      removed, instead the corresponding data is stored in the default
      fontset.
      (register-alternate-fontnames): Function removed.
      (resolved-ascii-font): Variable removed.
      (x-compose-font-name): Ignore the second argument REDOCE.
      (x-complement-fontset-spec): Complement only an ASCII font and
      element for those charsets than can use that ASCII font.
      (generate-fontset-menu): Don't refer to global-fontset-alist,
      instead call fontset-list.
      (uninstantiated-fontset-alist): Variable removed.
      (x-style-funcs-alist): Likewise.
      (fontset-default-styles): Likewise.
      (x-modify-font-name): Function removed.
      (create-fontset-from-fontset-spec): Ignore the argument
      STYLE-VARIANT.
      (create-fontset-from-ascii-font): Docsting adjusted for the above
      change.
      (instantiate-fontset, resolve-fontset-name): Functions removed.
      (fontset-list): Now implemented by C code.
      6eca8d93
    • Kenichi Handa's avatar
      (read-face-font): Fix TABLE arg to completing-read. · b32631c8
      Kenichi Handa authored
      (describe-face): Include `font' attribute in the description.
      b32631c8
  2. 20 Mar, 2000 9 commits
  3. 19 Mar, 2000 7 commits
  4. 18 Mar, 2000 6 commits
  5. 17 Mar, 2000 9 commits