Mercurial > emacs
annotate etc/e/eterm.ti @ 55244:c5bad07bbb95
(init_iterator): Handle line-spacing float value.
Initialize override_ascent member.
(append_space_for_newline): Reset override_ascent.
Remove use_default_face.
(calc_line_height_property): New function to calculate value of
line-height and line-spacing properties. Look at overlays, too.
Set override_ascent, override_descent, override_boff members when
using another face than the current face. Float values are now
relative to the frame default font, by default; accept a cons
of ratio and face name to specify value relative to a specific face.
(x_produce_glyphs): Use calc_line_height_property.
Use override_ascent etc. when set to handle different face heights.
A negative line-spacing property value is interpreted as a total
line height, rather than inter-line spacing.
(note_mouse_highlight): Allocate room for 40 overlays initially.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 29 Apr 2004 22:37:52 +0000 |
parents | e96ffe544684 |
children | 8fa869733358 |
rev | line source |
---|---|
25853 | 1 eterm, |
2 lines#24,cols#80, | |
3 colors#8,pairs#64, | |
4 cuu1=\E[A,cud1=\n,cub1=\b,cuf1=\E[C,home=\E[H,cr=\r, | |
5 cuu=\E[%p1%dA,cud=\E[%p1%dB,cub=\E[%p1%dD,cuf=\E[%p1%dC, | |
6 cup=\E[%i%p1%d;%p2%dH, | |
7 ind=\n,csr=\E[%i%p1%d;%p2%dr, | |
8 il1=\E[L,il=\E[%p1%dL, | |
9 clear=\E[H\E[J,ed=\E[J,el=\E[K,el1=\E[1K, | |
10 dl1=\E[M,dl=\E[%p1%dM,dch1=\E[P,dch=\E[%p1%dP, | |
11 smir=\E[4h,rmir=\E[4l,ich=\E[%p1%d@,mir, | |
12 smcup=\E7\E[?47h,rmcup=\E[2J\E[?47l\E8, | |
13 ht=\t,khome=\E[1~,kend=\E[4~,knp=\E[6~,kpp=\E[5~, | |
14 kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, | |
15 smso=\E[7m,rmso=\E[m, | |
16 smul=\E[4m,rmul=\E[m, | |
17 rev=\E[7m,bold=\E[1m,sgr0=\E[m, | |
18 invis=\E[8m, | |
19 setab=\E[%p1%{40}%+%dm, setaf=\E[%p1%{30}%+%dm, | |
20 bel=^G,xenl,am, | |
21 |