1. 25 Jan, 2008 1 commit
  2. 14 Jan, 2008 1 commit
  3. 07 Jan, 2008 2 commits
  4. 25 Dec, 2007 1 commit
  5. 21 Dec, 2007 1 commit
  6. 20 Dec, 2007 1 commit
  7. 18 Dec, 2007 2 commits
  8. 14 Dec, 2007 1 commit
  9. 06 Dec, 2007 1 commit
  10. 03 Dec, 2007 2 commits
  11. 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
  12. 23 Nov, 2007 1 commit
  13. 19 Nov, 2007 1 commit
  14. 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
  15. 26 Jul, 2007 1 commit
  16. 02 Jun, 2007 1 commit
  17. 31 May, 2007 3 commits
  18. 26 Apr, 2007 1 commit
  19. 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
  20. 24 Apr, 2007 1 commit
  21. 29 Nov, 2006 1 commit
  22. 24 Nov, 2006 1 commit
  23. 27 Oct, 2006 1 commit
  24. 23 Oct, 2006 1 commit
  25. 17 Oct, 2006 1 commit
  26. 21 Aug, 2006 1 commit
  27. 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
  28. 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
  29. 26 Jul, 2006 1 commit
  30. 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
  31. 14 Jul, 2006 1 commit
  32. 03 Jul, 2006 1 commit
  33. 28 Jun, 2006 1 commit
    • Kenichi Handa's avatar
      (QCscalable, Qc, Qm, Qp, Qd): New variables. · ec6fe57c
      Kenichi Handa authored
      (syms_of_font): Initialize them.
      (font_pixel_size): Allow float value in dpi.
      (font_prop_validate_type): Deleted.
      (font_prop_validate_symbol, font_prop_validate_style): Argument
      changed.  Caller changed.
      (font_prop_validate_non_neg): Renamed from
      font_prop_validate_size.
      (font_prop_validate_extra): Deleted.
      (font_prop_validate_spacing): New function.
      (font_property_table): Add elements for all known properties.
      (get_font_prop_index): Renamed from check_font_prop_name.  New
      argument FROM.  Caller changed.
      (font_prop_validate): Validate all known properties.
      (font_put_extra): Argument force deleted.  Caller changed.
      (font_expand_wildcards): Make it static.  Fix the way of shrinking
      the possible range.
      (font_parse_xlfd): Arguemnt merge deleted.  Fix handling of RESX,
      RESY, SPACING, and AVGWIDTH.  Don't validate property values here.
      Caller changed.
      (font_unparse_xlfd): Handle dpi, spacing, and scalable properties.
      (font_parse_fcname): Arguemnt merge deleted.  Fix parsing of point
      size.  Don't validate properties values here.  Caller changed.
      (font_unparse_fcname): Handle dpi, spacing, and scalable
      properties.
      (font_open_by_name): Delete unused variable.
      (Ffont_spec): Likewise.  Validate property values.
      (Ffont_match_p): New function.
      ec6fe57c
  34. 21 Jun, 2006 1 commit
  35. 19 Jun, 2006 1 commit