| | 1 | 2003-03-08 MIYASHITA Hisashi <himi@meadowy.org> |
|---|
| | 2 | |
|---|
| | 3 | * mw32font.c (Qencoding_type, Qencoder, Qdim): Removed. |
|---|
| | 4 | (Qencoding, Qfont_unit_byte, Q1_byte_set_msb) |
|---|
| | 5 | (Q2_byte_set_msb, Qunicode, Qshift_jis): New symbols. |
|---|
| | 6 | (mw32_windows_set_logical_font_from_charset): Call mw32_set_encoding_to_lf() |
|---|
| | 7 | to initialize MW32Encoding. |
|---|
| | 8 | (mw32_glyph_metric): Don't examine dim. Check font_unit_byte instead. |
|---|
| | 9 | (mw32_bdffont_textout): Use font_unit_byte instead of dim. |
|---|
| | 10 | (mw32_set_bdf_font): Do nothing with dim, encoding_type, nor ccl_method. |
|---|
| | 11 | (set_font_info): When setting font_encoder, use MW32FontEncoding instead of |
|---|
| | 12 | encoding_type and ccl_method. |
|---|
| | 13 | (mw32_find_ccl_program): Likewise. |
|---|
| | 14 | (free_font_info): Removed. |
|---|
| | 15 | (mw32_valid_encoding_p): New function. |
|---|
| | 16 | (mw32_set_encoding_to_lf): New function. |
|---|
| | 17 | (mw32_set_encoding_byte_from_charset): New function. |
|---|
| | 18 | (mw32_default_hash_function): Don't use the removed members, encoding_type, |
|---|
| | 19 | ccl_method, nor dim. |
|---|
| | 20 | (mw32_lf_equal): Ditto. |
|---|
| | 21 | (mw32_load_lf): Finally canonicalize encoding info. by calling |
|---|
| | 22 | mw32_set_encoding_byte_from_charset. |
|---|
| | 23 | (mw32_delete_logical_font): Free ccl_method if possible. |
|---|
| | 24 | (mw32_set_option_alist_to_logical_font): Set encoding. Remove the codes on |
|---|
| | 25 | encoding_type, ccl_method, and dim. |
|---|
| | 26 | (mw32_check_font_request_alist): Check a value on Qencoding, and don't |
|---|
| | 27 | check Qencoding_type, Qencoder, nor Qdim. |
|---|
| | 28 | (syms_of_mw32font): Init Qencoding, Qfont_unit_byte, Q1_byte_set_msb, |
|---|
| | 29 | Q2_byte_set_msb, Qunicode, and Qshift_jis. Remove the codes on Qencoding_type, |
|---|
| | 30 | Qencoder, nor Qdim. |
|---|
| | 31 | |
|---|
| | 32 | * mw32font.h (ENCODING_DIMENSION, ENCODING_BYTE1MSB1) |
|---|
| | 33 | (ENCODING_BYTE2MSB1, ENCODING_BYTE2LSB1) |
|---|
| | 34 | (ENCODING_SHIFTJIS, ENCODING_UNICODE): Moved to a new enumerator |
|---|
| | 35 | named MW32EncodingType. |
|---|
| | 36 | (ENCODING_EXTERNAL): New constant. |
|---|
| | 37 | (INITIALIZE_CCL_ID): Removed. |
|---|
| | 38 | (MW32EncodingType): New enumerator. |
|---|
| | 39 | (MW32Encoding): New structure. |
|---|
| | 40 | (MW32LogicalFont): Remove encoding_type, ccl_method, and dim. |
|---|
| | 41 | Introduce encoding instead. |
|---|
| | 42 | (MW32_FONT_FROM_FONT_INFO): New macro. |
|---|
| | 43 | |
|---|
| | 44 | * mw32term.c (mw32_encode_char): len is taken from |
|---|
| | 45 | MW32LogicalFont. |
|---|
| | 46 | |
|---|
| | 47 | |
|---|