1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

79039 commits

Author SHA1 Message Date
Kenichi Handa
ed1d7fcc27 *** empty log message *** 2007-12-25 11:08:31 +00:00
Kenichi Handa
a98df90bd0 Register font-shape-text in
composition-function-table.
2007-12-25 11:08:13 +00:00
Kenichi Handa
09c8ce47a5 *** empty log message *** 2007-12-25 11:07:30 +00:00
Kenichi Handa
ddc872bac6 (syms_of_composite): Fix docstring of
auto-composition-function.
2007-12-25 11:07:00 +00:00
Kenichi Handa
95a097c435 *** empty log message *** 2007-12-25 11:06:24 +00:00
Kenichi Handa
afc3e744ce Register font-shape-text in
composition-function-table.
2007-12-25 11:05:49 +00:00
Kenichi Handa
326953245e (thai-composition-function): Fix arguments. 2007-12-25 11:05:22 +00:00
Kenichi Handa
fde03aacb4 Register font-shape-text in composition-function-table. 2007-12-25 11:03:30 +00:00
Kenichi Handa
ba6c24f0c4 Register font-shape-text in
composition-function-table.
2007-12-25 10:59:23 +00:00
Kenichi Handa
e32dd5e97b (diacritic-composition-function): Fix arguments. 2007-12-25 10:57:51 +00:00
Kenichi Handa
a5787fe364 (ethio-composition-function): Fix arguments. 2007-12-25 10:53:18 +00:00
Kenichi Handa
268dff9412 (tai-viet-composition-function): Fix
arguments.
2007-12-25 10:50:26 +00:00
Kenichi Handa
00ddf712fb (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.
2007-12-25 10:49:50 +00:00
Kenichi Handa
0aaa92be70 *** empty log message *** 2007-12-25 10:36:42 +00:00
Kenichi Handa
52b95de414 (LGLYPH_SIZE): New macro. 2007-12-25 10:36:32 +00:00
Kenichi Handa
40fb53d667 (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.
2007-12-25 10:36:06 +00:00
Kenichi Handa
c1f156b73b (handle_auto_composed_prop): Change the argument to
auto-composition-function.
2007-12-25 10:33:11 +00:00
Kenichi Handa
4cec60619a (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.
2007-12-25 10:32:26 +00:00
Kenichi Handa
21138cff06 (xfont_encode_char): Use the macro FONT_INVALID_CODE. 2007-12-25 10:31:10 +00:00
Kenichi Handa
b5b2545a19 (xftfont_encode_char): Use the macro FONT_INVALID_CODE. 2007-12-25 10:30:29 +00:00
Kenichi Handa
f9a3a187da *** empty log message *** 2007-12-21 01:45:13 +00:00
Kenichi Handa
b293711968 (Ffont_shape_text): Avoid unnecessary composition. 2007-12-21 01:38:14 +00:00
Kenichi Handa
28e2436abf (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.
2007-12-21 01:37:31 +00:00
Jason Rumney
8cce6b2d94 *** empty log message *** 2007-12-20 14:29:09 +00:00
Jason Rumney
4f2a2ee261 (logfonts_match): Don't check adstyle here.
(font_matches_spec): Check here against physical font instead.
(add_font_entity_to_list): Avoid some substitutions.
2007-12-20 14:28:53 +00:00
Kenichi Handa
6ce70459b1 (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.
2007-12-20 12:38:58 +00:00
Jason Rumney
47f4439634 *** empty log message *** 2007-12-20 10:40:57 +00:00
Jason Rumney
9ba6fd4149 (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.
2007-12-20 10:40:31 +00:00
Jason Rumney
9e1a29952a (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)
2007-12-20 00:10:57 +00:00
Jason Rumney
593fe38ee9 (w32font_open): Remove debug code.
(w32font_match_internal, w32_font_open_internal): Remove experimental change.

Last checkin should have had the following comment:

(w32font_text_extents): Don't use the frame stored in the
font, as it may have been deleted.
2007-12-19 22:27:46 +00:00
Jason Rumney
859a9fdfc4 *** empty log message *** 2007-12-19 22:22:55 +00:00
Jason Rumney
db9b8a15c6 (font_property_index): Doc change 2007-12-19 22:09:52 +00:00
Jason Rumney
473c8e1500 *** empty log message *** 2007-12-19 21:40:18 +00:00
Jason Rumney
269c6924bc (w32font_get_cache): Update declaration. 2007-12-19 15:27:16 +00:00
Jason Rumney
ea66f7f19b *** empty log message *** 2007-12-19 15:26:59 +00:00
Vinicius Jose Latorre
96ceb2601f Fix emacs*_mac.png 2007-12-18 12:10:31 +00:00
Kenichi Handa
f2307cac71 *** empty log message *** 2007-12-18 11:48:16 +00:00
Kenichi Handa
2fdf8fd2d7 (fontset_find_font): Fix previous change. 2007-12-18 11:48:01 +00:00
Kenichi Handa
771752281d (ftfont_get_cache): Adjust the argument type. 2007-12-18 11:47:33 +00:00
Kenichi Handa
dfdf55c0a9 (x_set_font_backend): Don't call Fclear_font_cache. If
none of the new drivers are available, call font_update_drviers
with the old drivers.
2007-12-18 11:43:51 +00:00
Kenichi Handa
ca4da08aaa (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.
2007-12-18 11:40:00 +00:00
Kenichi Handa
a4c7190998 (w32font_get_cache): Adjust the argument type. 2007-12-18 11:37:36 +00:00
Kenichi Handa
feb2737b54 (xfont_get_cache): Adjust the argument type. 2007-12-18 11:37:05 +00:00
Kenichi Handa
69ea039a00 (struct font_driver): Change argument type of get_cache. 2007-12-18 11:36:22 +00:00
Kenichi Handa
173f0ce256 (xftfont_start_for_frame): Delete prototype. 2007-12-18 11:26:43 +00:00
Kenichi Handa
596943a7cb *** empty log message *** 2007-12-18 02:33:58 +00:00
Kenichi Handa
53b26aae43 (fontset_find_font): Fix previous change. 2007-12-18 02:29:25 +00:00
Kenichi Handa
e670e82736 (Ffont_get): Fix arguments to Fassoc. 2007-12-18 02:26:27 +00:00
Miles Bader
d29ee6b1a1 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
2007-12-16 05:08:49 +00:00
Miles Bader
47854a5568 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-956
2007-12-16 04:31:49 +00:00