diff options
| author | YAMAMOTO Mitsuharu | 2005-10-11 03:35:54 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-10-11 03:35:54 +0000 |
| commit | 71b7a47f7972000021bade3c1cab8e34a0ce9d0c (patch) | |
| tree | 90d1f9955b1442b4bf38418f1fd60950dc3cd097 /src/ChangeLog | |
| parent | 3c02eaa7d35f169f2d17f0d02bfc5c41ea8ef9c9 (diff) | |
| download | emacs-71b7a47f7972000021bade3c1cab8e34a0ce9d0c.tar.gz emacs-71b7a47f7972000021bade3c1cab8e34a0ce9d0c.zip | |
(PER_CHAR_METRIC): Remove unused macro.
(fm_font_family_alist): New variable.
(syms_of_macterm): Initialize and staticpro it.
(decode_mac_font_name): Replace '-' in family name with '_' if it
occurs just once. Lower family name.
(parse_x_font_name): Rename from x_font_name_to_mac_font_name.
All uses changed. Remove argument MF and code conversion for it.
Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS
to CHARSET. Parse font size. Lower family name. Return integer
value for status of parsing.
(init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name.
Don't use Fdowncase because family name is already lowered by
decode_mac_font_name.
(init_font_name_table): Always call decode_mac_font_name. Add
pair of family name and its reference to fm_font_family_alist.
(mac_clear_font_name_table): Clear fm_font_family_alist.
(XLoadQueryFont): Move font size parsing part to parse_x_font_name.
Lookup fm_font_family_alist to get font family reference.
(XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family
name is already lowered by parse_x_font_name.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f0c9084da54..c723c3ee9c1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macterm.c (PER_CHAR_METRIC): Remove unused macro. | ||
| 4 | (fm_font_family_alist): New variable. | ||
| 5 | (syms_of_macterm): Initialize and staticpro it. | ||
| 6 | (decode_mac_font_name): Replace '-' in family name with '_' if it | ||
| 7 | occurs just once. Lower family name. | ||
| 8 | (parse_x_font_name): Rename from x_font_name_to_mac_font_name. | ||
| 9 | All uses changed. Remove argument MF and code conversion for it. | ||
| 10 | Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS | ||
| 11 | to CHARSET. Parse font size. Lower family name. Return integer | ||
| 12 | value for status of parsing. | ||
| 13 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. | ||
| 14 | Don't use Fdowncase because family name is already lowered by | ||
| 15 | decode_mac_font_name. | ||
| 16 | (init_font_name_table): Always call decode_mac_font_name. Add | ||
| 17 | pair of family name and its reference to fm_font_family_alist. | ||
| 18 | (mac_clear_font_name_table): Clear fm_font_family_alist. | ||
| 19 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. | ||
| 20 | Lookup fm_font_family_alist to get font family reference. | ||
| 21 | (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family | ||
| 22 | name is already lowered by parse_x_font_name. | ||
| 23 | |||
| 1 | 2005-10-11 Kim F. Storm <storm@cua.dk> | 24 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
| 2 | 25 | ||
| 3 | * xterm.c (glyph_rect): Return 0 if position is outside text area. | 26 | * xterm.c (glyph_rect): Return 0 if position is outside text area. |
| @@ -52,7 +75,7 @@ | |||
| 52 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. | 75 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. |
| 53 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping | 76 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping |
| 54 | rectangles stored in gc. | 77 | rectangles stored in gc. |
| 55 | (XFreeGC): Dispose clipping region. | 78 | (XFreeGC): Dispose of clipping region. |
| 56 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. | 79 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. |
| 57 | (x_draw_fringe_bitmap, x_set_glyph_string_clipping) | 80 | (x_draw_fringe_bitmap, x_set_glyph_string_clipping) |
| 58 | (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) | 81 | (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) |
| @@ -3772,7 +3795,7 @@ | |||
| 3772 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size | 3795 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size |
| 3773 | of filename string. Set event callback function when creating | 3796 | of filename string. Set event callback function when creating |
| 3774 | dialog boxes. Add code conversions for filenames. Don't dispose | 3797 | dialog boxes. Add code conversions for filenames. Don't dispose |
| 3775 | apple event descriptor record if failed to create it. | 3798 | of apple event descriptor record if failed to create it. |
| 3776 | 3799 | ||
| 3777 | * macterm.c: Include sys/param.h. | 3800 | * macterm.c: Include sys/param.h. |
| 3778 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for | 3801 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for |
| @@ -6879,7 +6902,8 @@ | |||
| 6879 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | 6902 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a |
| 6880 | scroll-bar click event. | 6903 | scroll-bar click event. |
| 6881 | (mac_define_frame_cursor): Change the pointer shape. | 6904 | (mac_define_frame_cursor): Change the pointer shape. |
| 6882 | (x_free_frame_resources): Reset tip_window to NULL when it is disposed. | 6905 | (x_free_frame_resources): Reset tip_window to NULL when it is |
| 6906 | disposed of. | ||
| 6883 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. | 6907 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
| 6884 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. | 6908 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
| 6885 | (do_window_update): Don't do anything if the updated window is the | 6909 | (do_window_update): Don't do anything if the updated window is the |