1. 16 Feb, 2008 1 commit
  2. 06 Feb, 2008 2 commits
  3. 28 Jan, 2008 2 commits
  4. 25 Jan, 2008 1 commit
  5. 14 Jan, 2008 1 commit
  6. 07 Jan, 2008 2 commits
  7. 25 Dec, 2007 1 commit
  8. 21 Dec, 2007 1 commit
  9. 20 Dec, 2007 1 commit
  10. 18 Dec, 2007 2 commits
  11. 14 Dec, 2007 1 commit
  12. 06 Dec, 2007 1 commit
  13. 03 Dec, 2007 2 commits
  14. 01 Dec, 2007 1 commit
    • Kenichi Handa's avatar
      * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>. · 1701724c
      Kenichi Handa authored
      (font_charset_alist): Moved from xfont.c and renamed.
      (font_registry_charsets): Likewise.
      (font_prop_validate_otf): New function.
      (font_property_table): Register it for QCotf.
      (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER)
      (font_drive_otf): Deleted.
      (font_prepare_composition): New arg F.  Adjusted for the change of
      lispy gstring.
      (font_find_for_lface): New arg C.
      (font_load_for_face): Adjusted for the change of
      font_find_for_lface.
      (Ffont_make_gstring): Adjusted for the change of lispy gstring.
      (Ffont_fill_gstring): Likewise.
      (Ffont_shape_text): New function.
      (Fopen_font): If the font size is not given, use 12-pixel.
      (Ffont_at): New arg STRING.
      (syms_of_font): Initalize font_charset_alist.  Declare
      Ffont_shape_text as a Lisp function.  Call syms_of_XXfont
      conditionally.
      1701724c
  15. 23 Nov, 2007 1 commit
  16. 19 Nov, 2007 1 commit
  17. 05 Nov, 2007 1 commit
    • Kenichi Handa's avatar
      (font_prop_validate_symbol): The argument prop_index is · 45eb10fb
      Kenichi Handa authored
      deleted.
      (font_prop_validate_style, font_prop_validate_non_neg)
      (font_prop_validate_spacing): Likewise.
      (font_property_table): Arguments to validater changed.  Callers
      changed.
      (font_lispy_object): Deleted.
      (font_at): Use font_find_object instead fo font_lispy_object.
      45eb10fb
  18. 26 Jul, 2007 1 commit
  19. 02 Jun, 2007 1 commit
  20. 31 May, 2007 3 commits
  21. 26 Apr, 2007 1 commit
  22. 25 Apr, 2007 1 commit
    • Kenichi Handa's avatar
      (struct otf_list): Delete it. · 733fd013
      Kenichi Handa authored
      (otf_list): Make it a lisp variable..
      (otf_open): Use lispy otf_list.
      (generate_otf_features): Renamed from parse_gsub_gpos_spec.
      (check_otf_features): New function.
      (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): New
      functinos.
      (font_drive_otf): New function merging font_otf_gsub and
      font_otf_gpos.
      (font_open_for_lface): New arg spec.  Change argument order.
      (font_load_for_face): Adjusted for the change of
      font_open_for_lface.
      (Ffont_drive_otf): New function merging Ffont_otf_gsub and
      Ffont_otf_gpos.
      (syms_of_font): Staticpro otf_list.  Delete defsubr of
      Sfont_otf_gsub and Sfont_otf_gpos.  Defsubr Sfont_drive_otf.
      733fd013
  23. 24 Apr, 2007 1 commit
  24. 29 Nov, 2006 1 commit
  25. 24 Nov, 2006 1 commit
  26. 27 Oct, 2006 1 commit
  27. 23 Oct, 2006 1 commit
  28. 17 Oct, 2006 1 commit
  29. 21 Aug, 2006 1 commit
  30. 01 Aug, 2006 1 commit
    • Kenichi Handa's avatar
      (font_parse_fcname): Don't change :name property of FONT. · e950d6f1
      Kenichi Handa authored
      (font_parse_name): Likewise.
      (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE, check_gstring): Define
      them unconditionally.
      (font_matching_entity): New function.
      (font_open_by_name): Try font_matching_entity if exact match is
      not found.
      (font_update_drivers): Delete the arg FONT.  Return a list of
      actually used backends.  Don't free faces, font caches here.
      Don't store data in frame parameters.  Don't call x_set_font.
      (Ffont_spec): Store :name property as is.
      (Ffont_get): Check HAVE_LIBOTF before calling font_otf_capability.
      (Ffont_otf_gsub): Call font->driver->otf_gsub instead of
      font_otf_gsub.
      (Ffont_otf_gpos): Call font->driver->otf_gpos instead of
      font_otf_gpos.
      (Ffont_otf_alternates): Check if the driver has otf_gsub function.
      Call font->driver->otf_gsub instead of font_otf_gsub.
      e950d6f1
  31. 28 Jul, 2006 1 commit
    • Kenichi Handa's avatar
      (font_otf_capability): Fix handling of the default · e80e09b4
      Kenichi Handa authored
      langsys.
      (parse_gsub_gpos_spec): Type changed to void.  New arg nbytes.
      Check the contents of SPEC.
      (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE): New macros.
      (check_gstring): New function.
      (REPLACEMENT_CHARACTER): New macro.
      (font_otf_gsub): New arg alternate_subst.  Be sure to set all
      glyph codes of GSTRING.
      (font_otf_gpos): Be sure to set all glyph codes of GSTRING.
      (font_prepare_composition): Set cmp->glyph_len.
      (font_open_entity): Set font->scalable.
      (Ffont_get): Handle :otf property.
      (Ffont_otf_gsub, Ffont_otf_gpos, Ffont_otf_alternates): New
      functions.
      (Fquery_font): Use font->font.full_name.
      (syms_of_font): Defsubr Sfont_otf_gsub, Sfont_otf_gpos, and
      Sfont_otf_alternates.
      e80e09b4
  32. 26 Jul, 2006 1 commit
  33. 24 Jul, 2006 1 commit
    • Kenichi Handa's avatar
      Include window.h. · 10d16101
      Kenichi Handa authored
      (font_lispy_object): New function.
      (font_prepare_composition): Check LGLYPH_FORM (g) to detect the
      end of valid glyph.
      (font_close_object): Fix getting (struct font *).
      (font_at): New function.
      (Ffont_get): If FONT is a font-object, get entity from it.
      (Ffont_make_gstring): Initialize elements of glyphs with nil.
      (Ffont_fill_gstring): Use macro LGSTRING_XXX and LGLYPH_XXX.  Fix
      range check.
      (Ffont_at): New function.
      (syms_of_font): Defsubr Sfont_at.
      10d16101