1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 03:52:16 -08:00
Commit graph

26249 commits

Author SHA1 Message Date
Kenichi Handa
aa50ca2fb3 (font_parse_family_registry): Use Ffont_put to validate
foundry and family.
(font_delete_unmatched): Don't check spacing.
(font_list_entities): Add spacing to the spec to list fonts.
2008-05-28 11:47:01 +00:00
Kenichi Handa
5d376f741b (ftfont_spec_pattern): Don't set FC_SPACING to pattern.
(ftfont_list): Check spacing here.  Don't include FC_CHARSET in
objset.
2008-05-28 11:45:29 +00:00
Juanma Barranquero
c3f9fba859 *** empty log message *** 2008-05-28 09:27:18 +00:00
Juanma Barranquero
446dcd7574 (Fdecode_coding_region, Fencode_coding_region, Fencode_coding_string):
(syms_of_coding) <coding-system-for-read, coding-system-for-write>:
<latin-extra-code-table>: Fix typos in docstrings.
(syms_of_coding) <coding-system-alist>: Doc fix.
(syms_of_coding) <translation-table-for-input>: Reflow docstring.
2008-05-28 09:11:59 +00:00
Juanma Barranquero
45c420d68f Fix typo in comment. 2008-05-28 08:10:37 +00:00
Kenichi Handa
00c670e142 *** empty log message *** 2008-05-28 06:46:55 +00:00
Kenichi Handa
319a394709 (encode_coding_raw_text): Fix previous change.
(encode_coding_object): When the dst_object is a buffer and is
different from src_object, move gap to PT.
2008-05-28 06:38:47 +00:00
Chong Yidong
c1e4782a8a (x_draw_glyph_string): If a clipmask is specified, use it. 2008-05-27 21:10:55 +00:00
Chong Yidong
45feca9190 * xterm.c (x_draw_glyph_string): If a clipmask is specified, use it. 2008-05-27 21:10:39 +00:00
Stefan Monnier
a0ed9b27c3 (encode_coding_raw_text): Fix last change. 2008-05-27 15:56:59 +00:00
Stefan Monnier
01d45367b2 (encode_coding_raw_text): Set coding->produced_char for all branches.
Compute it differently.
2008-05-27 15:49:49 +00:00
Stefan Monnier
5dd5d9eb1a Include font.h for --without-x. 2008-05-27 14:12:42 +00:00
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