| Entry | |
|---|---|
| R0 | Flags if R1 > 0, else 0 |
| R1 | Pointer to word aligned buffer or, |
| 8 to count buffer space needed | |
| 0 to switch to normal output | |
| -1 to read state |
| Exit | |
|---|---|
| R0 | Previous Flags |
| R1 | Previous buffer pointer + size needed by Draw file structure |
The purpose of this call is to switch the output of The Font Manager to a buffer and then save it in the Draw File format.
R1 on exit, points at the 0 terminator (it and the new size remaining are not counted in the data generated).
Each letter is converted to a filled path object, as are rubout boxes and the underlining.
Before calling the buffer must contain the following:
| Offset | Contents |
|---|---|
| +0 | 0 |
| +4 | Size of remaining buffer (bytes) |