[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Italic font does not have same height as non-italic
From: |
Lennart Borgman |
Subject: |
Italic font does not have same height as non-italic |
Date: |
Mon, 26 Mar 2007 01:34:37 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 |
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
- Italic font does not have same height as non-italic,
Lennart Borgman <=