1. 30 Jun, 2010 1 commit
  2. 11 May, 2010 1 commit
  3. 23 Apr, 2010 1 commit
  4. 26 Feb, 2010 1 commit
  5. 13 Jan, 2010 1 commit
  6. 12 Dec, 2009 1 commit
    • Kenichi Handa's avatar
      (struct ftfont_info): New member matrix. · d0db2ec8
      Kenichi Handa authored
      (ftfont_open): Setup xftfont_info->matrix.
      (MFLTFontFT): New member matrix.
      (FLOOR, CEIL, ROUND): New macros.
      (ftfont_get_metrics): Handle matrix transformation.
      (ftfont_shape_by_flt): New arg matrix.  Callers changed.
      d0db2ec8
  7. 17 Nov, 2009 1 commit
    • Jan Djärv's avatar
      Handle system default font and changing font parameters. · 637fa988
      Jan Djärv authored
      * xterm.h (struct x_display_info): Add atoms and Window for xsettings.
      
      * xterm.c (handle_one_xevent): Call xft_settings_event for
      ClientMessage, PropertyNotify and DestroyNotify.
      (x_term_init): If we have XFT, get DPI from Xft.dpi.
      Call xsettings_initialize.
      
      * xftfont.c (xftfont_fix_match): New function.
      (xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
      Call xftfont_fix_match after XftFontMatch.
      
      * xfont.c (xfont_driver): Initialize all members.
      
      * xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
      Do not get font from x_default_parameter if we got one from
      Ffont_get_system_font.
      (Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).
      
      * w32font.c (w32font_driver): Initialize all members.
      
      * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.
      
      * lisp.h: Declare syms_of_xsettings.
      
      * keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
      CONFIG_CHANGED_EVENT.
      
      * ftfont.c (ftfont_filter_properties): New function.
      
      * frame.c (x_set_font): Remove unused variable lval.
      
      * font.h (struct font_driver): filter_properties is new.
      
      * font.c (font_put_extra): Don't return if val is nil, it means
      boolean option is off.
      (font_parse_fcname): Collect all extra properties in extra_props
      and call filter_properties for all drivers with extra_props and
      font as parameter.
      (font_open_entity): Do not use cache, it does not pick up new fontconfig
      settings like hinting.
      (font_load_for_lface): If spec had a name in it, store it in entity.
      
      * emacs.c (main): Call syms_of_xsettings
      
      * config.in: HAVE_GCONF is new.
      
      * Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
      xsettings.o is new.
      
      * menu-bar.el: Put "Use system font" in Option-menu.
      
      * loadup.el: If feature system-font-setting or font-render-setting is
      there, load font-setting.
      
      * Makefile.in (ELCFILES): font-settings.el is new.
      * font-setting.el: New file.
      
      * NEWS: Mention dynamic font changes (font-use-system-font).
      
      * configure.in: New option: --with(out)-gconf.
      Set HAVE_GCONF if we find gconf.
      637fa988
  8. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  9. 14 Jul, 2009 1 commit
    • Kenichi Handa's avatar
      (ftfont_spec_pattern): New arg langname. Caller · 497e54d8
      Kenichi Handa authored
      changed.
      (ftfont_list): Adjusted for the change of ftfont_spec_pattern.
      Reject a font who has adstyle property that is different from a
      langname derived from registry property.
      (ftfont_match): Adjusted for the change of ftfont_spec_pattern.
      497e54d8
  10. 26 Jun, 2009 1 commit
  11. 23 Jun, 2009 2 commits
  12. 17 Apr, 2009 2 commits
  13. 16 Apr, 2009 1 commit
    • Kenichi Handa's avatar
      (Qja, Qko): Don't make them static. · d7782105
      Kenichi Handa authored
      (enum ftfont_cache_for): New enum.
      (fc_charset_table): Undo the previous change.
      (ftfont_get_latin1_charset): Delete it.
      (ftfont_pattern_entity): Check cache by ftfont_lookup_cache.  Set
      FONT_SIZE_INDEX of the entity to 0 for a scalable font.  For a
      non-scarable font, try to get AVERAGE_WIDTH.
      (ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR.
      Change ft_face_cache from a list of a hash-table.  Don't check
      `ja' and `ko' adstyle here.
      (ftfont_get_fc_charset): Call ftfont_lookup_cache with
      FTFONT_CACHE_FOR_CHARET.
      (ftfont_get_charset): Undo the previous change.
      (ftfont_open): Call ftfont_lookup_cache with
      FTFONT_CACHE_FOR_FACE.
      (ftfont_close): Likewise.
      (ftfont_has_char): Special handling of `ja' and `ko' adstyle.
      d7782105
  14. 13 Apr, 2009 2 commits
    • Kenichi Handa's avatar
      a8a3728b
    • Kenichi Handa's avatar
      (Qja, Qko): New variables. · 99c4d65d
      Kenichi Handa authored
      (fc_charset_table): Delete uniquifier data for iso8859-1.
      (ftfont_get_latin1_charset): New function.
      (get_adstyle_property): New function.
      (ftfont_pattern_entity): Set FONT_ADSTYLE_INDEX of entity for
      bitmap fonts.
      (ftfont_lookup_cache): Handle the case that KEY is a font-entity.
      Delete iso-8859-1 range from the charset of fonts whose adstyle is
      `ko' or `ja'.
      (ftfont_get_fc_charset): Call ftfont_lookup_cache with ENTITY.
      (ftfont_get_charset): For iso8859-1, call
      ftfont_get_latin1_charset.
      (ftfont_list): Don't refuse a font spec with non-nil `adstyle'
      property.
      (ftfont_open): Call ftfont_lookup_cache with ENTITY.
      (syms_of_ftfont): DEFSYM Qja and Qko.
      99c4d65d
  15. 08 Apr, 2009 1 commit
  16. 06 Apr, 2009 1 commit
  17. 30 Mar, 2009 1 commit
  18. 29 Mar, 2009 1 commit
  19. 11 Feb, 2009 1 commit
  20. 27 Jan, 2009 1 commit
  21. 19 Jan, 2009 1 commit
  22. 08 Jan, 2009 1 commit
  23. 30 Dec, 2008 1 commit
  24. 19 Dec, 2008 1 commit
  25. 10 Dec, 2008 1 commit
  26. 05 Dec, 2008 1 commit
  27. 03 Dec, 2008 3 commits
  28. 24 Oct, 2008 1 commit
  29. 17 Oct, 2008 1 commit
  30. 12 Oct, 2008 1 commit
  31. 17 Sep, 2008 1 commit
  32. 09 Sep, 2008 1 commit
  33. 01 Sep, 2008 1 commit
  34. 29 Aug, 2008 1 commit
    • Kenichi Handa's avatar
      Include composite.h. · 89a95b7c
      Kenichi Handa authored
      (ftfont_resolve_generic_family): Add langset "en" to pattern.
      (ftfont_shape_by_flt): Use LGSTRING_GLYPH_LEN, not
      LGSTRING_LENGTH.
      89a95b7c
  35. 21 Jul, 2008 1 commit