Kenichi Handa [Fri, 21 Dec 2007 01:37:31 +0000 (01:37 +0000)]
(Vfont_encoding_charset_alist): New variable.
(syms_of_fontset): DEFVAR it.
(reorder_font_vector): Optimize for the case of no need of
reordring.
(fontset_find_font): Likewise.
(face_for_char): Map the charset property by
Vfont_encoding_charset_alist.
Jason Rumney [Thu, 20 Dec 2007 14:28:53 +0000 (14:28 +0000)]
(logfonts_match): Don't check adstyle here.
(font_matches_spec): Check here against physical font instead.
(add_font_entity_to_list): Avoid some substitutions.
Kenichi Handa [Thu, 20 Dec 2007 12:38:58 +0000 (12:38 +0000)]
(font-encoding-charset-alist):
Initialize it.
(otf-script-alist): Fix typo of canadian-aboriginal.
(setup-default-fontset): Specify font-specs for many more scripts.
(x-complement-fontset-spec): The 1st argument changed to a
font-spec object.
(create-fontset-from-fontset-spec): Adjusted for the above change.
Jason Rumney [Thu, 20 Dec 2007 10:40:31 +0000 (10:40 +0000)]
(font_parse_fcname): Default weight and slant to normal.
(font_score): Prefer normal fonts if weight or slant unspecified.
(font_score) [WINDOWSNT]: Scale weight difference down to closer
match freetype scores.
Jason Rumney [Thu, 20 Dec 2007 00:10:57 +0000 (00:10 +0000)]
(w32font_text_extents): Dereference selected_frame.
(w32_enumfont_pattern_entity): Map generic family to adstyle using
most common hyphenless variation.
(logfonts_match): Check generic family.
(font_matches_spec): Don't check generic family here.
(fill_in_logfont): Set generic family based on adstyle.
+ changes to sans-serif constants to avoid hyphen (for xfld compatibility)
Kenichi Handa [Tue, 18 Dec 2007 11:40:00 +0000 (11:40 +0000)]
(font_prepare_cache, font_finish_cache, font_get_cache): New
functions.
(font_clear_cache): New function.
(font_list_entities): Use font_get_cache.
(font_matching_entity): Likewise.
(font_update_drivers): Call font_clear_cache when finishing a
driver.
(fancy-splash-help-echo): Var deleted.
(fancy-splash-insert): Get help-echo from (startup-echo-area-message).
(fancy-about-screen): Don't display fancy-splash-help-echo.
Many doc fixes.
("danish-alt-postfix")
("esperanto-alt-postfix", "finnish-alt-postfix")
("german-alt-postfix", "icelandic-alt-postfix")
("norwegian-alt-postfix", "scandinavian-alt-postfix")
("spanish-alt-postfix", "swedish-alt-postfix"):
Deleted; they were identical to the non-alt versions.
Michael Albinus [Fri, 14 Dec 2007 21:49:52 +0000 (21:49 +0000)]
* dbusbind.c (xd_retrieve_value, xd_retrieve_arg)
(Fdbus_call_method, Fdbus_send_signal, xd_read_message): Use
`unsigned int' instead of `uint'.
(xd_read_message, Fdbus_register_signal): Split expressions into
multiple lines before operators "&&" and "||", according to the
GNU Coding Standards.
Kenichi Handa [Fri, 14 Dec 2007 11:15:43 +0000 (11:15 +0000)]
(handle_auto_composed_prop): Don't get a character at
the position here, and call font_at with the arg C -1. Don't
check the range of the existing composition at the point.
Kenichi Handa [Thu, 13 Dec 2007 02:43:56 +0000 (02:43 +0000)]
(fontset_add): New args charset_id and famliy. Caller
changed.
(load_font_get_repertory): Assume that font_spec is always a
font-spec object.
(fontset_find_font): Likewise.
(Fset_fontset_font): Always store a font-spec object in a fontset.
Jay Belanger [Wed, 12 Dec 2007 04:55:20 +0000 (04:55 +0000)]
(math-restore-underscores, math-string-restore-underscores):
New functions.
(math-read-factor): Properly check variable names with underscores
for entries in `math-expr-variable-mapping'.
Juri Linkov [Wed, 12 Dec 2007 00:10:37 +0000 (00:10 +0000)]
(Frename_buffer): In interactive spec replace
`read-buffer' with `read-string' that uses `buffer-name-history'
as history, and the current buffer's name as default.