Kenichi Handa [Fri, 6 Feb 2004 11:08:43 +0000 (11:08 +0000)]
(FONTSET_DEFAULT): New macro.
(FONTSET_ADD): Handle the case that range is nil.
(fontset_add): Likewise.
(Fset_fontset_font): Change the 2nd arg name to TARGET, and handle
the case that it is nil.
(dump_fontset): Call FONTSET_DEFAULT, not FONTSET_FALLBACK.
(syms_of_fontset): Set char-table-extra-slots property of fontset
to 9.
Kenichi Handa [Thu, 5 Feb 2004 04:34:22 +0000 (04:34 +0000)]
(list-character-sets): Fix the first line message.
(sort-listed-character-sets): Adjusted for the change of
list-characters-sets-1.
(list-character-sets-1): List supplementary character sets in a
different section.
(list-charset-chars): Validate charset at early stage.
Kenichi Handa [Mon, 2 Feb 2004 11:43:19 +0000 (11:43 +0000)]
(japanese-ucs-cp932-to-jis-map): Renamed
from japanese-ucs-cp932-map.
(japanese-ucs-jis-to-cp932-map): Renamed from
japanese-ucs-jis-map.
(japanese-ucs-glibc-map): Delete this tranlastion table.
(japanese-ucs-glibc-to-jis-map): New tranlastion table.
(japanese-ucs-jis-to-glibc-map): New tranlastion table.
Kenichi Handa [Tue, 27 Jan 2004 02:39:40 +0000 (02:39 +0000)]
Load cp51932 and eucjp-ms.
(japanese-ucs-cp932-map, japanese-ucs-jis-map)
(japanese-ucs-glibc-map): New translation tables.
(eucjp-ms): New coding system.
Kenichi Handa [Tue, 27 Jan 2004 02:21:37 +0000 (02:21 +0000)]
(QCmnemonic, QCdefalut_char)
(QCdecode_translation_table, QCencode_translation_table)
(QCpost_read_conversion, QCpre_write_conversion): New variables.
(get_translation_table): Return a list of translation tables if
necessary.
(decode_coding): Call get_translation_table with ENCODEP 0.
(char_encodable_p): If translation_table is non-nil, always call
translate_char.
(Fdefine_coding_system_internal): Accept list of translation
tables as :encode-translation-table and :decode-translation-table.
(Fcoding_system_put): New function.
(syms_of_coding): Declare new symbols. Defsubr
Scoding_system_put.
Kenichi Handa [Tue, 27 Jan 2004 02:02:55 +0000 (02:02 +0000)]
(TRANS_TABLE): New macro.
(JISX0208.map): Convert 0x2015 to 0x2014.
(cp51932.el): New target.
(eucjp-ms.el): New target.
(install): Include ${TRANS_TABLE}.
Kenichi Handa [Sun, 25 Jan 2004 07:30:47 +0000 (07:30 +0000)]
(get_translation_table): New function.
(translate_chars): Fix the bug of skipping annotation data.
(decode_coding): Utilze get_translation_table.
(encode_coding): Likewise.
(char_encodable_p): Translate char if necessary.
(Funencodable_char_position): Likewise.
(Ffind_coding_systems_region_internal): Setup translation table
for encode in a coding system attribute vector in advance.
(Fcheck_coding_systems_region): Likewise.
(Fdefine_coding_system_internal): Allow a symbol as translation
table. For shift-jis type coding system, allow 4th charset.
Kenichi Handa [Fri, 23 Jan 2004 08:47:18 +0000 (08:47 +0000)]
(move_it_to): Optimize for the case (op & MOVE_TO_Y).
(x_get_glyph_overhangs): Handle a composition glyph.
(x_produce_glyphs): Setup lbearing and rbreaing for a composition
glyph.
Kenichi Handa [Sun, 18 Jan 2004 23:27:07 +0000 (23:27 +0000)]
Include charset.h.
(Vprint_charset_text_property): New variable.
(Qdefault): Extern it.
(PRINT_STRING_NON_CHARSET_FOUND)
(PRINT_STRING_UNSAFE_CHARSET_FOUND): New macros.
(print_check_string_result): New variable.
(print_check_string_charset_prop): New function.
(print_prune_charset_plist): New variable.
(print_prune_string_charset): New function.
(print_object): Call print_prune_string_charset if
Vprint_charset_text_property is not t.
(print_interval): Print nothing if itnerval->plist is nil.
(syms_of_print): Declare Vprint_charset_text_property as a lisp
variable. Init and staticpro print_prune_charset_plist.
Kenichi Handa [Thu, 15 Jan 2004 23:03:32 +0000 (23:03 +0000)]
(stretches-for-character-list): Delete it.
(list-block-of-chars): Use tabs instead of `display' property for
aligning characters.
(print-fontset-element): Fix the printing of XLFD.