Commit Graph

26237 Commits

Author SHA1 Message Date
Juanma Barranquero
9c623c856e (compute_metrics): Rewrite an "else { if () ... else ... }"
into "else if () ... else ...".
2008-05-27 08:56:38 +00:00
Jason Rumney
943f2093bf (w32font_open_internal): Determine if glyph indices are likely to work here. 2008-05-27 08:30:02 +00:00
Chong Yidong
44acf81e88 (draw_glyphs): If mouse-highlighting is on, attempt to draw overlap
glyphs with appropriate highlighting.
2008-05-27 03:11:39 +00:00
Chong Yidong
7385fe74a1 * xdisp.c (draw_glyphs): If mouse-highlighting is on, attempt to
draw overlap glyphs with appropriate highlighting.
2008-05-27 03:11:09 +00:00
Kenichi Handa
4f64a16487 (xfont_open): Fix calculation of font->average_width. 2008-05-27 01:45:00 +00:00
Stefan Monnier
1fb5aad76f (casify_object): Try to guess better whether the argument is a byte or a char. 2008-05-27 00:50:01 +00:00
Jason Rumney
dc49f3766b *** empty log message *** 2008-05-26 14:10:55 +00:00
Jason Rumney
ed18e61238 (w32_weight_table): Remove unused variable.
(w32_enumfont_pattern_entity): Use FONT_SPACING_CHARCELL for
backwards compatibility.
2008-05-26 14:05:38 +00:00
Andreas Schwab
5a9c35e500 (x_reply_selection_request): Properly handle format ==
32.  Always send multiples of format size.
2008-05-26 12:03:03 +00:00
Andreas Schwab
f8eb1603d2 (x_set_frame_alpha): Fix type mismatch. 2008-05-26 11:37:42 +00:00
Jason Rumney
dc6cf56878 (w32font_text_extents): Zero whole metrics struct first.
(compute_metrics): Don't set failure if we just cleared the cache.
2008-05-26 11:05:42 +00:00
Jason Rumney
ba93d6842e (w32font_text_extents): Zero whole metrics struct first. 2008-05-26 10:41:58 +00:00
Kenichi Handa
505ecc4969 (x_draw_glyph_string): Fix calculation of underline
position.
2008-05-25 11:19:50 +00:00
Kenichi Handa
a6c4ecbc32 *** empty log message *** 2008-05-25 11:09:53 +00:00
Kenichi Handa
951b8112ca (xftfont_open): Delete unused variable. If
underline_thickness is not 1, adjust underline_position.
2008-05-25 11:04:53 +00:00
Kenichi Handa
97b816fb93 (ftxfont_open): Delete unused variable. 2008-05-25 11:03:14 +00:00
Kenichi Handa
b59e66b393 (face_for_char): Optimize for the case of no charset property. 2008-05-25 11:02:11 +00:00
Kenichi Handa
6a3dadd2c2 (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE)
(check_gstring, check_otf_features, otf_list, otf_tag_symbol)
(otf_open, font_otf_capability, generate_otf_features)
(font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor):
Commented out by surrounding "#if 0" and "#endif" for the moment.
(Ffont_drive_otf, Ffont_otf_alternates): Likewise.
(syms_of_font): Codes for accessing above commented out.
2008-05-25 11:00:52 +00:00
Eli Zaretskii
f481eb312e Include dispextern.h. 2008-05-24 08:39:34 +00:00
Eli Zaretskii
b1722a4640 *** empty log message *** 2008-05-24 08:29:28 +00:00
Kenichi Handa
6c652bebc2 (Qemacs, charset_emacs): New variables.
(char_charset): Fix for non-Unicode characters.
(syms_of_charset): Define charset_emacs.
2008-05-23 12:50:07 +00:00
Juanma Barranquero
924b41eefb Fix typos. 2008-05-23 10:45:38 +00:00
Juanma Barranquero
20746fe46b *** empty log message *** 2008-05-23 10:30:18 +00:00
Juanma Barranquero
d0cf2d48dc (Fencode_char, Fsplit_char): Doc fixes.
(Fget_unused_iso_final_char, Fdecode_char, Fiso_charset):
Fix typos in docstrings.
2008-05-23 10:13:25 +00:00
Jason Rumney
e715084611 Remove includes that are already included by config.h 2008-05-23 09:25:18 +00:00
Kenichi Handa
328fab2aee *** empty log message *** 2008-05-23 06:31:17 +00:00
Kenichi Handa
efdf1b43d7 (x_draw_glyph_string): Be sure to draw underline within the current
line area.
2008-05-23 06:11:53 +00:00
Kenichi Handa
90dc78a36e (x_draw_glyph_string): Be sure to draw underline within the current
line area.
2008-05-23 05:33:24 +00:00
Kenichi Handa
baf4d3b3cf *** empty log message *** 2008-05-23 04:44:35 +00:00
Kenichi Handa
71b7654711 (x_draw_glyph_string): Be sure to update
s->underline_thickness and s->underline_position.
2008-05-23 04:43:48 +00:00
Glenn Morris
cc4a96c680 Spelling fix. 2008-05-23 04:41:33 +00:00
Kenichi Handa
dbf46ba612 Delete unused variables and add casting for char *
throughout the file.
(fontset_font): Try the fallback fonts of the current fontset
before consulting the default fontset.
2008-05-23 02:24:31 +00:00
Kenichi Handa
de24e3eb51 (ftfont_spec_pattern): Free charset if necessary. 2008-05-23 02:11:22 +00:00
Kenichi Handa
019e13ef75 (xfont_list_pattern): Free names returned from XListFonts. 2008-05-23 01:31:32 +00:00
Jason Rumney
577eba225c Don't include strings.h. 2008-05-22 22:12:25 +00:00
Jason Rumney
0513110744 * dispextern.h, xfaces.c (xstrcasecmp): Renamed from xstricmp.
* dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c:
* macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c:
* xfns.c, xfont.c: Callers changed.
2008-05-22 14:54:27 +00:00
Jason Rumney
3b780338b9 (msdos_stdcolor_idx): Use xstricmp. 2008-05-22 13:41:18 +00:00
Jason Rumney
5d3f7fd872 (font_style_to_value, font_score): Use xstricmp. 2008-05-22 13:36:30 +00:00
Jason Rumney
28f4e99c8c (fs_query_fontset): Use xstricmp. 2008-05-22 13:36:13 +00:00
Jason Rumney
61a540f538 (xfont_list_pattern, compare_font_names): Use xstricmp. 2008-05-22 13:35:54 +00:00
Kenichi Handa
955b979c00 (BASE_PURESIZE): Increaed to 1220000. 2008-05-22 12:27:44 +00:00
Kenichi Handa
64b900e33e (font_prop_validate_style): Adjusted for the format
change of font_style_table.
2008-05-22 05:21:06 +00:00
Kenichi Handa
a30e19579a *** empty log message *** 2008-05-22 03:49:18 +00:00
Kenichi Handa
47ae372379 (x_update_menu_appearance): Call Ffont_xlfd_name with
two args.
2008-05-22 03:47:34 +00:00
Stefan Monnier
631248e534 * minibuf.c (keys_of_minibuf): Delete.
* lisp.h (keys_of_minibuf): Delete.
* emacs.c (main): Don't call keys_of_minibuf.
2008-05-22 03:18:18 +00:00
Kenichi Handa
318548bef0 (ftfont_resolve_generic_family): Renamed from
ftfont_list_generic_family.  Return a single family for each
generic family.
(ftfont_spec_pattern): Add FC_FAMILY to pattern.
(ftfont_list): Adjusted for the change of
ftfont_resolve_generic_family.  Call font_add_log.
(ftfont_match): Call font_add_log.
2008-05-22 02:27:17 +00:00
Kenichi Handa
f6a651cb77 (Ffont_xlfd_name): EXFUN adjusted.
(FONT_DEBUG): Define it.
(font_add_log): Extern it.
(font_assert): Renamed from xassert.
2008-05-22 02:24:14 +00:00
Kenichi Handa
960d80b9c4 (xfont_get_pcm): Change xassert to font_assert.
(xfont_list_family): Call font_add_log.
(xfont_match): Likewise.
(memq_no_quit): Deleted.
2008-05-22 02:23:03 +00:00
Kenichi Handa
7ae2e7f020 (fontset_from_font, Ffontset_info): Add the 2nd arg in
call of Ffont_xlfd_name.
2008-05-22 02:21:54 +00:00
Kenichi Handa
68eaeee492 *** empty log message *** 2008-05-22 02:21:05 +00:00