[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32term.c
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32term.c |
Date: |
Sun, 31 Aug 2003 18:22:30 -0400 |
Index: emacs/src/w32term.c
diff -c emacs/src/w32term.c:1.195 emacs/src/w32term.c:1.196
*** emacs/src/w32term.c:1.195 Sun Aug 31 18:15:15 2003
--- emacs/src/w32term.c Sun Aug 31 18:22:29 2003
***************
*** 896,901 ****
--- 896,912 ----
xassert (font && char2b);
+ /* TODO: This function is currently called through the RIF, and in
+ some cases font_type is UNKNOWN_FONT. We currently allow the
+ cached metrics to be used, which seems to work, but in cases
+ where font_type is UNKNOWN_FONT, we probably haven't encoded
+ char2b appropriately. All callers need checking to see what they
+ are passing. This is most likely to affect variable width fonts
+ outside the Latin-1 range, particularly in languages like Thai
+ that rely on rbearing and lbearing to provide composition. I
+ don't think that is working currently anyway, but we don't seem
+ to have anyone testing such languages on Windows. */
+
/* Handle the common cases quickly. */
if (!font->bdf && font->per_char == NULL)
/* TODO: determine whether char2b exists in font? */