Skip to content

Commit a1a99c0

Browse files
authored
Add PLOTANDNC-PATCH from obsolete back to lispusers since its used by Notecards - specifically NCPLOTCARD (#1647)
1 parent f6eb5d9 commit a1a99c0

File tree

3 files changed

+53
-52
lines changed

3 files changed

+53
-52
lines changed

lispusers/PLOTANDNC-PATCH

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "XCL" BASE 10)
2+
3+
(FILECREATED " 4-Apr-2024 18:50:50" |{DSK}<home>frank>il>ncmedley>lispusers>PLOTANDNC-PATCH.;2| 1814
4+
5+
:PREVIOUS-DATE "22-Jan-88 15:45:26" |{DSK}<home>frank>il>ncmedley>lispusers>PLOTANDNC-PATCH.;1|
6+
)
7+
8+
9+
(PRETTYCOMPRINT PLOTANDNC-PATCHCOMS)
10+
11+
(RPAQQ PLOTANDNC-PATCHCOMS (
12+
(* |;;|
13+
 "define font read fns used by plot and notecards so system can read either kind")
14+
15+
(FNS READFONT READ.FONTINTODESCRIPTOR)
16+
(P
17+
(* |;;|
18+
 "make sure these read fns are registered to avoid messages when reading")
19+
20+
(PUSHNEW HPRINTREADFNS 'READFONT)
21+
(PUSHNEW HPRINTREADFNS 'READ.FONTINTODESCRIPTOR))))
22+
23+
24+
25+
(* |;;| "define font read fns used by plot and notecards so system can read either kind")
26+
27+
(DEFINEQ
28+
29+
(readfont
30+
(lambda (stream) (* |jop:| "27-Aug-85 13:34")
31+
(prog ((proplist (read stream)))
32+
(return (fontcreate (listget proplist 'family)
33+
(listget proplist 'size)
34+
(listget proplist 'face)
35+
(listget proplist 'rotation)
36+
(listget proplist 'device))))))
37+
38+
(read.fontintodescriptor
39+
(lambda (stream) (* \; "Edited 22-Jan-88 15:36 by thh:")
40+
41+
(apply 'fontcreate (read stream))))
42+
)
43+
44+
45+
(* |;;| "make sure these read fns are registered to avoid messages when reading")
46+
47+
48+
(PUSHNEW HPRINTREADFNS 'READFONT)
49+
50+
(PUSHNEW HPRINTREADFNS 'READ.FONTINTODESCRIPTOR)
51+
(DECLARE\: DONTCOPY
52+
(FILEMAP (NIL (1001 1609 (READFONT 1011 . 1427) (READ.FONTINTODESCRIPTOR 1429 . 1607)))))
53+
STOP

lispusers/PLOTANDNC-PATCH.LCOM

1.21 KB
Binary file not shown.

obsolete/lispusers/PLOTANDNC-PATCH

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)