diff options
| author | Jason Rumney | 2003-08-31 22:22:29 +0000 |
|---|---|---|
| committer | Jason Rumney | 2003-08-31 22:22:29 +0000 |
| commit | e9eee23e17d22e1def722b9c5f2779ac44db6ed9 (patch) | |
| tree | 5cb330d59377fdfc838e5ce3ee56b8ff695a5368 /src | |
| parent | 4bc2315e9ee39791abb683a4ba4b27e7a69d862a (diff) | |
| download | emacs-e9eee23e17d22e1def722b9c5f2779ac44db6ed9.tar.gz emacs-e9eee23e17d22e1def722b9c5f2779ac44db6ed9.zip | |
Document last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c index 16e0f4667c0..7531dd0fd05 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -896,6 +896,17 @@ w32_per_char_metric (font, char2b, font_type) | |||
| 896 | 896 | ||
| 897 | xassert (font && char2b); | 897 | xassert (font && char2b); |
| 898 | 898 | ||
| 899 | /* TODO: This function is currently called through the RIF, and in | ||
| 900 | some cases font_type is UNKNOWN_FONT. We currently allow the | ||
| 901 | cached metrics to be used, which seems to work, but in cases | ||
| 902 | where font_type is UNKNOWN_FONT, we probably haven't encoded | ||
| 903 | char2b appropriately. All callers need checking to see what they | ||
| 904 | are passing. This is most likely to affect variable width fonts | ||
| 905 | outside the Latin-1 range, particularly in languages like Thai | ||
| 906 | that rely on rbearing and lbearing to provide composition. I | ||
| 907 | don't think that is working currently anyway, but we don't seem | ||
| 908 | to have anyone testing such languages on Windows. */ | ||
| 909 | |||
| 899 | /* Handle the common cases quickly. */ | 910 | /* Handle the common cases quickly. */ |
| 900 | if (!font->bdf && font->per_char == NULL) | 911 | if (!font->bdf && font->per_char == NULL) |
| 901 | /* TODO: determine whether char2b exists in font? */ | 912 | /* TODO: determine whether char2b exists in font? */ |