diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 11 | ||||
| -rw-r--r-- | src/w32term.c | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e27fbf47666..d5fc0aca0b7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,16 @@ | |||
| 1 | 2001-10-17 Andrew Innes <andrewi@gnu.org> | 1 | 2001-10-17 Andrew Innes <andrewi@gnu.org> |
| 2 | 2 | ||
| 3 | * fontset.h (struct font_info) [WINDOWSNT]: Add codepage field. | ||
| 4 | |||
| 5 | * w32fns.c (w32_load_system_font): Cache codepage for font, in | ||
| 6 | font_info.charset field. | ||
| 7 | |||
| 8 | * w32term.c (w32_encode_char): Get cached codepage from font_info, | ||
| 9 | rather than working it out by calling w32_codepage_for_font for | ||
| 10 | every glyph. | ||
| 11 | |||
| 12 | 2001-10-17 Andrew Innes <andrewi@gnu.org> | ||
| 13 | |||
| 3 | * w32term.c (w32_read_socket): Determine clipping rectangle for | 14 | * w32term.c (w32_read_socket): Determine clipping rectangle for |
| 4 | the entire frame, including areas covered by scrollbars and the | 15 | the entire frame, including areas covered by scrollbars and the |
| 5 | menubar. This avoids internal arguments about whether a frame is | 16 | menubar. This avoids internal arguments about whether a frame is |
diff --git a/src/w32term.c b/src/w32term.c index 0425ed44577..c8afc114ef1 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1438,7 +1438,7 @@ w32_encode_char (c, char2b, font_info, two_byte_p) | |||
| 1438 | *char2b = BUILD_WCHAR_T (sjis1, sjis2); | 1438 | *char2b = BUILD_WCHAR_T (sjis1, sjis2); |
| 1439 | } | 1439 | } |
| 1440 | } | 1440 | } |
| 1441 | codepage = w32_codepage_for_font (font_info->name); | 1441 | codepage = font_info->codepage; |
| 1442 | 1442 | ||
| 1443 | /* If charset is not ASCII or Latin-1, may need to move it into | 1443 | /* If charset is not ASCII or Latin-1, may need to move it into |
| 1444 | Unicode space. */ | 1444 | Unicode space. */ |