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

79050 commits

Author SHA1 Message Date
Kenichi Handa
9aeb99f00a *** empty log message *** 2007-12-28 02:13:20 +00:00
Kenichi Handa
01308609dd (setup-default-fontset): Fix lao OTF script name. 2007-12-28 02:06:38 +00:00
Kenichi Handa
85e3daad7f *** empty log message *** 2007-12-27 02:41:35 +00:00
Kenichi Handa
844bf7bac8 terminal-composition-modification: Delete it. 2007-12-27 02:41:26 +00:00
Kenichi Handa
f98dfb0491 *** empty log message *** 2007-12-27 02:39:17 +00:00
Kenichi Handa
38a82365dd (terminal-composition-function): Fix previous change. 2007-12-27 02:37:58 +00:00
Kenichi Handa
0f301586e2 *** empty log message *** 2007-12-27 01:15:57 +00:00
Kenichi Handa
7d2fd54518 (ftfont_drive_otf): Fix setting of FROM and TO slots of
glyphs.
2007-12-27 01:15:39 +00:00
Kenichi Handa
778686b190 (struct font_driver): Docstring of member `shape' is improved. 2007-12-27 01:14:29 +00:00
Kenichi Handa
ef800aa28b *** empty log message *** 2007-12-26 01:55:47 +00:00
Kenichi Handa
5db50ccad6 (x-complement-fontset-spec): Complement size too. 2007-12-26 01:53:14 +00:00
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