Stefan Monnier
fd9440c582
(Fmake_variable_buffer_local, Fmake_local_variable)
...
(Fmake_variable_frame_local): Disallow mixing buffer-local and
frame-local settings for the same variable.
2008-05-30 02:37:40 +00:00
Kenichi Handa
22b7086bdb
* fontset.c (Ffont_info): Moved to font.c.
...
(syms_of_fontset): Delete defsubr of Sfont_info.
2008-05-30 02:35:54 +00:00
Kenichi Handa
72606e4580
(font_style_to_value, font_score): Delete casting of the
...
args to xstcasecmp.
(register_font_driver): Increment num_font_drivers only when
registering the driver globally.
(Ffont_info): Moved from fontset.c. Handle a font object too.
(syms_of_font): Defsubr Sfont_info.
2008-05-30 02:34:46 +00:00
Kenichi Handa
eaf1161847
(utf-8-sig, utf-8-auto): New coding systems.
2008-05-29 23:00:20 +00:00
Kenichi Handa
a470d44380
(CODING_UTF_8_BOM): New macro.
...
(enum coding_category): Delete coding_category_utf_8, add
coding_category_utf_8_auto, coding_category_utf_8_nosig, and
coding_category_utf_8_sig.
(CATEGORY_MASK_UTF_8): Delete it.
(CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG)
(CATEGORY_MASK_UTF_8_SIG): New macros.
(CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add
CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and
CATEGORY_MASK_UTF_8_SIG.
(CATEGORY_MASK_UTF_8): New macro.
(UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros.
(detect_coding_utf_8): Check BOM.
(decode_coding_utf_8, encode_coding_utf_8): Handle BOM.
(decode_coding_utf_16): Adjusted for the change of enum
utf_bom_type.
(encode_coding_utf_16): Likewise.
(setup_coding_system): Likewise. Set CODING_UTF_8_BOM (coding).
(detect_coding, detect_coding_system): Handle utf-8-auto.
(Fdefine_coding_system_internal): Handle `bom' property for utf-8.
(syms_of_coding): Fix setting up of Vcoding_category_table.
2008-05-29 22:58:15 +00:00
Kenichi Handa
e4215ddd07
(enum define_coding_utf8_arg_index): New enum.
...
(enum coding_attr_index): Change coding_attr_utf_16_bom to
coding_attr_utf_bom.
(enum utf_bom_type): Renamed from utf_16_bom_type.
(struct utf_16_spec): Adjusted for the above change.
(struct coding_system): Add utf_8_bom in `spec' union.
2008-05-29 22:58:00 +00:00
Jason Rumney
13e702f06a
*** empty log message ***
2008-05-29 17:11:48 +00:00
Jason Rumney
ef8e283dd5
(add_font_entity_to_list): Allow non-opentype truetype fonts back
...
in the uniscribe backend, but disallow any font that has no
unicode subrange support.
2008-05-29 16:57:00 +00:00
Stefan Monnier
891bd142e2
(Faccept_process_output): If millisec' is non-nil, seconds' default to 0.
...
(wait_reading_process_output): Also return non-nil if we read output
from a non-running process.
2008-05-29 16:54:53 +00:00
Jason Rumney
1519d52ee5
(w32font_open_internal): Prefer truetype fonts unless
...
'raster' specified.
2008-05-29 16:12:50 +00:00
Kenichi Handa
e887f2ac0e
*** empty log message ***
2008-05-29 13:03:39 +00:00
Kenichi Handa
62057df6e6
(Fx_family_fonts): Set frame correctly.
2008-05-29 04:46:59 +00:00
Juanma Barranquero
d5ab09cd20
(Fx_list_fonts, Finternal_copy_lisp_face): Fix typos in docstrings.
2008-05-29 02:51:49 +00:00
Kenichi Handa
a4eec62604
(Fx_list_fonts): Make it return a list of font names.
2008-05-29 01:44:39 +00:00
Jason Rumney
a6e0b7e572
(x_draw_glyph_string): Use clipmask if specified.
2008-05-28 16:13:20 +00:00
Stefan Monnier
6b3d752c5d
* src/fileio.c (Fwrite_region): Delay the defaulting to beg&z to after
...
calling build_annotations.
* lisp/files.el (basic-save-buffer-2): Pass nil rather than (point-min)
to write-region.
2008-05-28 12:36:15 +00:00
Kenichi Handa
b75d7f2882
*** empty log message ***
2008-05-28 12:26:41 +00:00
Kenichi Handa
bbfea8767a
(Ffont_info): Don't call font_close_object.
2008-05-28 12:19:52 +00:00
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