It looks like the height of an italic font is different from a
non-italic, at least on w32. To show this do the following:
1) emacs -Q
2) Paste the code below into the scratch buffer and evaluate it.
3) Shrink the frame so that it just shows the code.
4) Now do this several times
M-x test-i
Watch which lines are shown. With italic on fewer lines are shown.
>>>>>>>>
(defvar test-i-ovl nil)
(defun test-i()
(interactive)
(if test-i-ovl
(progn
(delete-overlay test-i-ovl)
(setq test-i-ovl nil))
(setq test-i-ovl (make-overlay (point-min) (point-max)))
(overlay-put test-i-ovl
'face
'(:slant italic
;;:underline t
;;:background "red"
)))
(goto-char (point-min)))
<<<<<<<<<<
In GNU Emacs 22.0.96.1 (i386-mingw-nt5.1.2600)
of 2007-03-21
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug