Kenichi Handa [Tue, 25 Dec 2007 10:49:50 +0000 (10:49 +0000)]
(composition-function-table): Fix docstring.
(terminal-composition-function): Fix arguments.
(auto-compose-current-font): Delete it.
(auto-compose-chars): Adjusted for the change of
composition-function-table.
Kenichi Handa [Tue, 25 Dec 2007 10:36:06 +0000 (10:36 +0000)]
(Ffont_fill_gstring): Stop filling when a character not
supported by the font is found.
(Ffont_shape_text): When a shape callback function returns nil,
try at most two more times with larger gstring.
(Ffont_at): Fix getting of w. Call font_at with correct 5th
argument.
Kenichi Handa [Tue, 25 Dec 2007 10:32:26 +0000 (10:32 +0000)]
(ftfont_encode_char): Use the macro FONT_INVALID_CODE.
(ftfont_shape_by_flt): If an element of lgstring is nil, make a
Lispy glyph and store it in the lgstring.
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.