(font_find_for_lface): Try the adstyle specified in the property of
[bpt/emacs.git] / src / ChangeLog
index 2eeb981..a61e3e4 100644 (file)
@@ -1,3 +1,202 @@
+2008-06-22  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_find_for_lface): Try the adstyle specified in
+       the property of LFACE_FONT of LFACE (if any).
+
+2008-06-21  Seiji Zenitani  <zenitani@mac.com>
+            Ryo Yoshitake  <ryo@shiftmode.net>
+
+       * xterm.c (x_set_frame_alpha): Add x_catch_errors for bug#437.
+
+2008-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el):
+       Use $(BOOTSTRAPEMACS) rather than witness-emacs.
+       (bootstrap-emacs${EXEEXT}): Merge witness-emacs into it.
+       (witness-emacs): Remove.
+       (lisp, shortlisp): Move loaddefs.el earlier.
+       (mostlyclean): Forget about witness-emacs.
+
+2008-06-22  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (witness-emacs): Depend on temacs${EXEEXT}.
+       (.SUFFIXES): Declare .el.elc as a suffix rule, for non-GNU makes.
+
+2008-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (PRECOMP): Remove.
+       (${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP.
+       (witness-emacs): Run `compile-first'.
+       (.el.elc): Use the new compile-onefile target.
+
+2008-06-21  Kenichi Handa  <handa@m17n.org>
+
+       * xftfont.c (xftfont_open): Handle QCembolden only when
+       FC_EMBOLDEN is defined.
+
+2008-06-21  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (witness-emacs): Use ../lisp, not $(lispsource).
+       (.el.elc): Likewise.
+
+2008-06-21  Miles Bader  <miles@gnu.org>
+
+       * Makefile.in (../lisp/loaddefs.el): Build autoloads in the lisp
+       build dir, not the lisp source dir.
+
+2008-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs.
+       (bootstrapclean): Remove.
+       (.el.elc): New rule.
+       (PRECOMP): New var.
+       (../lisp/subdirs.el): Remove.
+       (bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency.
+       (witness-emacs): New target.
+       (mostlyclean): Remove witness-emacs as well.
+       (../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}):
+       Add witness-emacs dependency.
+
+2008-06-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (Ffont_face_attributes): Omit key-attribute pairs not
+       defined by the font.
+
+2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files.
+       (bootstrap-clean): New target that keeps TAGS around.
+       (../lisp/subdirs.el, ../lisp/loaddefs.el): New targets.
+       (bootstrap-emacs${EXEEXT}): Depend on subdirs.el.
+
+2008-06-20  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c, w32term.c, w32term.h, w32gui.h [OLD_FONT]:
+       Remove obsolete font code.
+
+       * w32font.c (font_matches_spec): Use csb bitfield from font signature
+       to determine language support.
+
+2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * sysdep.c (cfsetspeed): New fun extracted from the code.
+       (cfmakeraw): Move before first use.
+
+2008-06-20  Angelo Graziosi  <angelo.graziosi@alice.it>  (tiny change)
+
+       * sysdep.c (cfmakeraw): Provide fallback implementation.
+       (serial_configure): Provide fallback implementation of cfsetspeed.
+
+2008-06-20  Kenichi Handa  <handa@m17n.org>
+
+       * xftfont.c (xftfont_open): Add FOUNDRY, SPACING, DPI, SCALABLE to
+       the pattern.
+
+       * fontset.c (fontset_from_font): Copy font_spec before changing
+       the elements.
+
+       * xfns.c (x_default_font_parameter): Try "monospace-12" too.
+
+2008-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * w32fns.c, xfnc.c (x_default_font_parameter): Only set `font-param'
+       for explicit `font' parameters.
+
+       * frame.c (x_set_font): Remove unexplained call to fix inf-recursion.
+
+2008-06-19  Kenichi Handa  <handa@m17n.org>
+
+       * frame.c: Include <ctype.h>.
+       (x_set_font_backend): Allow spacing characters in the X resource
+       for FontBackend.
+
+2008-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * w32fns.c, xfns.c (Qfont_param): New var.
+       (syms_of_w32fns): Initialize it.
+       (x_default_font_parameter): Record explicit `font' into
+       `font-parameter'.
+
+2008-06-18  Kenichi Handa  <handa@m17n.org>
+
+       * font.c (font_parse_xlfd): Fix previous change.
+       (font_parse_fcname): Don't use :fc-unknown-spec.
+       (FRAME_X_DISPLAY_INFO): Besure to have at least 1 pixel height.
+       (Fcopy_font_spec): Preserve the order of elements in FONT_EXTRA.
+       (font_add_log): Prepend the driver name to the resulting fonts.
+
+       * ftfont.c (ftfont_pattern_entity): New arg extra.  Caller changed.
+       (ftfont_spec_pattern): Don't check QCfc_unknown_spec and QCname.
+       (ftfont_list) [FC_FONTFORMAT]: Include FC_FONTFORMAT in objset.
+
+       * xftfont.c (QChinting , QCautohint, QChintstyle, QCrgba)
+       (QCembolden): New variables.
+       (syms_of_xftfont): DEFSYM them.
+       (xftfont_open): Call XftFontMatch.  Don't trust the result of
+       XftTextExtents8 if the pixel_size is less than 5.
+
+2008-06-18  Andreas Schwab  <schwab@suse.de>
+
+       * font.c (Ffont_face_attributes): Only define if
+       HAVE_WINDOW_SYSTEM.
+       (syms_of_font): Only defsubr if HAVE_WINDOW_SYSTEM.
+
+2008-06-18  Jason Rumney  <jasonr@gnu.org>
+
+       * w32font.c (w32font_list, w32font_match): Add logging.
+
+       * w32uniscribe (uniscribe_list, uniscribe_match): Add logging.
+
+2008-06-17  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (font_parse_fcname): Store divider characters for
+       unknown-spec list.  For known key symbols, intern using correct
+       symbol name.
+
+2008-06-17  Kenichi Handa  <handa@m17n.org>
+
+       * xfaces.c (realize_default_face): If the frame is not on window
+       system, set the fontset of face to nil.
+
+2008-06-17  Naohiro Aota  <nao.aota@gmail.com>  (tiny change)
+
+       * fontset.c (fontset_pattern_regexp): Escape some reg-expr
+       characters.
+
+2008-06-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * dispextern.h (lookup_non_ascii_face, split_font_name_into_vector)
+       (build_font_name_from_vector): Delete externs.
+
+       * xfaces.c (struct font_name): Don't declare.
+
+2008-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * font.c (font_unparse_gtkname): Use EQ to compare Lisp_Objects.
+
+2008-06-16  Chong Yidong  <cyd@stupidchicken.com>
+
+       * font.c (font_parse_fcname): Fix handling of unknown-spec string.
+
+2008-06-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * font.c (Ffont_spec): Fix usage in docstring.
+       (Ffont_face_attributes): Doc fix.
+
+2008-06-16  Andreas Schwab  <schwab@suse.de>
+
+       * font.c (Ffont_face_attributes): Fix definition.
+
+2008-06-16  Jason Rumney  <jasonr@gnu.org>
+
+       * font.h (font_style_symbolic_from_value): Remove.
+
+       * font.c (font_style_symbolic_from_value): Remove.
+       (font_style_symbolic): Revert to pre 2008-06-13 version.
+
+       * w32font.c (w32_to_fc_weight): New function.
+       (w32font_full_name, logfont_to_fcname): Use it.
+
 2008-06-16  Kenichi Handa  <handa@m17n.org>
 
        * font.c (font_check_object): Delete it.
@@ -6,6 +205,7 @@
        font-object to nil.
        (font_close_object): Don't check FONT_CLOSE_OBJECT.
        (font_at): Don't call font_check_object.
+       (Ffont_get): Return a symbol for :weight, :slant, and :width.
 
 2008-06-16  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        change of font-related objects.
        (syms_of_font): Delete "ifdef USE_FONT_BACKEND".  DEFSYM new symbols.
 
-       * fontset.h (struct font_info): Delete it.  Most memnbers go to
+       * fontset.h (struct font_info): Delete it.  Most members go to
        struct font.
        (FONT_ENCODING_NOT_DECIDED): Moved to font.h.
        (enum FONT_SPEC_INDEX): Delete it.