1. 03 Jun, 2008 2 commits
  2. 02 Jun, 2008 2 commits
  3. 31 May, 2008 1 commit
  4. 30 May, 2008 2 commits
  5. 28 May, 2008 1 commit
  6. 25 May, 2008 1 commit
    • Kenichi Handa's avatar
      (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE) · 6a3dadd2
      Kenichi Handa authored
      (check_gstring, check_otf_features, otf_list, otf_tag_symbol)
      (otf_open, font_otf_capability, generate_otf_features)
      (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
      Commented out by surrounding "#if 0" and "#endif" for the moment.
      (Ffont_drive_otf, Ffont_otf_alternates): Likewise.
      (syms_of_font): Codes for accessing above commented out.
      6a3dadd2
  7. 22 May, 2008 6 commits
    • Jason Rumney's avatar
      Don't include strings.h. · 577eba22
      Jason Rumney authored
      577eba22
    • Jason Rumney's avatar
      * dispextern.h, xfaces.c (xstrcasecmp): Renamed from xstricmp. · 05131107
      Jason Rumney authored
      * dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c:
      * macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c:
      * xfns.c, xfont.c: Callers changed.
      05131107
    • Jason Rumney's avatar
      5d3f7fd8
    • Kenichi Handa's avatar
      (font_prop_validate_style): Adjusted for the format · 64b900e3
      Kenichi Handa authored
      change of font_style_table.
      64b900e3
    • Kenichi Handa's avatar
      *** empty log message *** · 68eaeee4
      Kenichi Handa authored
      68eaeee4
    • Kenichi Handa's avatar
      Checking of FONT_DEBUG is moved to font.h. All calls of · d0ab1ebe
      Kenichi Handa authored
      xassert are changed to font_assert.  Many unused variables
      deleted.
      (Vfont_weight_table, Vfont_slant_table, Vfont_width_table): New
      variables.
      (struct table_entry): Moved from xfaces.c and modified.
      (weight_table, slant_table, width_table): Moved from xfaces.c and
      contents adjusted for the change of struct table_entry.
      (font_style_to_value, font_style_symbolic): Adjuted for the format
      change of font_style_table.
      (font_parse_family_registry): Don't overwrite existing foundry and
      family of font_spec.
      (font_score): Fix calculation of diff for sizes.
      (font_sort_entites): Call font_add_log.
      (font_delete_unmatched): Return a newly created list.
      (font_list_entities): Fix previous change.  Call font_add_log.
      (font_matching_entity, font_open_entity, font_close_entity): Call
      font_add_log.
      (Ffont_xlfd_name): New arg FOLD-WILDCARDS.
      (Finternal_set_font_style_table): Deleted.
      (BUILD_STYLE_TABLE): New macro.
      (build_style_table): New function.
      (Vfont_log, font_log_env_checked): New variables.
      (font_add_log): New function.
      (syms_of_font): Delete defsubr Sinternal_set_font_style_table.
      Declare Lisp variables "font-weight-table", "font-slant-table",
      "font-width-table", and "font-log".  Initialize font_style_table.
      d0ab1ebe
  8. 20 May, 2008 2 commits
    • Juanma Barranquero's avatar
      (syms-of-font) <font-encoding-alist>: · 027a33c0
      Juanma Barranquero authored
      (Ffontp, Ffont_make_gstring): Fix typos in docstrings.
      (Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font,
      Ffont_otf_alternates): Doc fixes.
      027a33c0
    • Kenichi Handa's avatar
      (Vfont_encoding_alist, find_font_encoding): Moved from · 819e81df
      Kenichi Handa authored
      fontset.c.
      (font_pixel_size)[! HAVE_WINDOW_SYSTEM]: Return 1.
      (font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts,
      FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f)
      only when HAVE_WINDOW_SYSTEM is defined.
      (font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only
      when HAVE_WINDOW_SYSTEM is defined.
      819e81df
  9. 19 May, 2008 1 commit
  10. 15 May, 2008 1 commit
  11. 14 May, 2008 4 commits
    • Kenichi Handa's avatar
      be9442ad
    • Kenichi Handa's avatar
      1f09f444
    • Glenn Morris's avatar
      9ec0b715
    • Kenichi Handa's avatar
      Include <strings.h>. · 35027d0c
      Kenichi Handa authored
      (enable_font_backend): Delete it.
      (Qfont_spec, Qfont_entity, Qfont_object): New variables.
      (CHECK_VALIDATE_FONT_SPEC): Delete it.
      (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved to font.h.
      (null_string): Delete it.
      (null_vector): Make it static.
      (font_family_alist): Delete it.
      (Qnormal): Extern it.
      (QCextra, QClanguage): Delete it.
      (QClang, QCavgwidth, QCfont_entity, QCfc_unknown_spec): New
      variables.
      (font_make_spec, font_make_entity, font_make_object)
      (font_intern_prop): Renamed from intern_downcase.  Don't downcase
      the string.  Callers changed.
      (font_pixel_size): Adjusted for the format change of font-related
      objects.
      (prop_name_to_numeric, prop_numeric_to_name): Delete them.
      (font_style_to_value, font_style_symbolic): New function.
      (build_font_family_alist): Delete it.
      (font_registry_charsets): Use Fassoc_string instead of
      assq_no_quit.
      (font_prop_validate_symbol): Don't return null_string.
      (font_prop_validate_style): Adjusted for the change of
      style-related values in a font vector.
      (font_property_table): Delete entries for QClangauge and
      QCantialias, add entries for QCavgwidth.
      (get_font_prop_index): Delete the 2nd argument FROM.
      (font_prop_validate): Arguments changed.
      (font_put_extra): Adjusted for the change of font-related objects.
      (font_expand_wildcards, font_parse_xlfd, font_unparse_xlfd)
      (font_parse_fcname, font_unparse_fcname)
      (font_prepare_composition): Likewise.
      (font_parse_family_registry): Renamed from font_merge_old_spec.
      (otf_open): Delete the 1st arg entity.
      (font_otf_capability): Adjusted for the above change.
      (font_score): New arg alternate_families.  Adjusted for the change
      of font-related objects.
      (font_sort_entites): New arg best_only.
      (font_symbolic_weight, font_symbolic_slant, font_symbolic_width):
      Delete them.
      (font_match_p): Check alternate families.
      (font_find_object): Delete it.
      (font_check_object): New function.
      (font_clear_cache): Adjusted for the change of font-related
      objects.
      (font_delete_unmatched): New arg.
      (font_list_entities): Call font_driver->list with a spec that
      doesn't specify style-related properties.
      (font_matching_entity): Arguments changed.  Caller changed.
      (font_open_entity): Adjusted for the change of font-related
      objects.
      (font_close_object, font_has_char, font_encode_char)
      (font_get_name, font_get_spec): Likewise.
      (font_spec_from_name, font_clear_prop, font_update_lface): New
      functions.
      (font_find_for_lface, font_open_for_lface, font_load_for_lface):
      (font_prepare_for_face, font_done_for_face, font_open_by_name)
      (font_at): Adjusted for the change of font-related objects.
      (font_range): New function.
      (Ffontp, Ffont_spec, Ffont_get, Ffont_put, Flist_fonts)
      (Ffont_xlfd_name): Adjusted for the change of font-related
      objects.
      (Fcopy_font_spec, Fmerge_font_spec): New function.
      (Ffont_family_list): Renamed from list-families.
      (Finternal_set_font_style_table): Arguments changed.
      (Ffont_fill_gstring, Ffont_shape_text, Fopen_font)
      (Ffont_drive_otf, Fquery_font, Ffont_match_p): Adjusted for the
      change of font-related objects.
      (syms_of_font): Delete "ifdef USE_FONT_BACKEND".  DEFSYM new
      symboles.
      35027d0c
  12. 08 May, 2008 1 commit
  13. 27 Apr, 2008 1 commit
  14. 01 Mar, 2008 1 commit
  15. 26 Feb, 2008 2 commits
  16. 25 Feb, 2008 1 commit
  17. 22 Feb, 2008 1 commit
  18. 18 Feb, 2008 1 commit
  19. 17 Feb, 2008 1 commit
    • Kenichi Handa's avatar
      Include xterm.h. · 43c0454d
      Kenichi Handa authored
      [HAVE_NTGUI]: Include w32term.h.
      [MAC_OS]: Include macterm.ch.
      (font_otf_ValueRecord): Use make_number.
      (font_finish_cache): Fix handling of reference count.
      (font_clear_cache): Update num_fonts.
      (font_open_entity): Update smallest_char_width and
      smallest_font_height of the frame.
      (font_close_object): Update num_fonts.
      (Fclear_font_cache): Fix finding the target cache data.
      43c0454d
  20. 16 Feb, 2008 1 commit
  21. 06 Feb, 2008 2 commits
  22. 28 Jan, 2008 2 commits
  23. 25 Jan, 2008 1 commit
  24. 14 Jan, 2008 1 commit
  25. 07 Jan, 2008 1 commit