mirror of
https://github.com/PDP-10/its.git
synced 2026-01-22 10:32:13 +00:00
VERSA: Fix XGP line height calculation.
The default line height was 0, so empty lines came out as zero height. Use the height of the current font instead. If the last line of a page ended with the ^L, linfin was never called, so its height was computed as 0 and it overlapped the previous line. Ensure linfin always gets run in this case.
This commit is contained in:
parent
abfd92fa59
commit
38d534c320
@ -4512,8 +4512,10 @@ dopag1: call doline
|
||||
jrst dopag1
|
||||
|
||||
doline: setzm outena ;disable output
|
||||
setzm chrrct ;should really be current height??
|
||||
setzm movdwn ;nothing forced us down yet
|
||||
setzm chrrct
|
||||
setzm movdwn
|
||||
call normal ;initial line height based on
|
||||
jfcl ; current font, in case line is empty
|
||||
setzm count ;count of saved characters
|
||||
move x,lftmar ;underline from left margin by default
|
||||
movem x,stubit
|
||||
@ -4544,7 +4546,7 @@ cl.top: ^@,,[aos (p) ? return] ;ignore
|
||||
^H,,backsp
|
||||
^I,,tab
|
||||
^J,,linefd
|
||||
^L,,[setom eopp ? return]
|
||||
^L,,[setom eopp ? jrst linfin]
|
||||
^M,,cretrn
|
||||
177,,xgpesc
|
||||
0,,0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user