Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R1 | Pointer to buffer for identifier, or 0 to find required size |
R2 | Counter and flags |
R3 | Size of buffer in R1 |
R4 | Pointer to buffer for font name, or 0 to find required size |
R5 | Size of buffer in R4 |
Exit | |
---|---|
R2 | New count, or -1 if no more |
R3 | Required size of buffer in R1 if R1 = 0, otherwise length of data placed in buffer |
R5 | Required size of buffer in R4 if R4 = 0, otherwise length of data placed in buffer |
Bit | Meaning |
---|---|
0-15 | Counter, or 0 for first call |
16 | Return font identifier in R1 |
17 | Return local name in R4 |
18 | Terminate with CR rather than 0 |
22 | Return list of encodings rather than fonts |
23-31 | Reserved; must be 0 |
This call returns, one at a time, the fonts or encodings found with a given path.
Names are returned alphabetically sorted. For this form of the call, only bits 16-18 and bit 22 of the flags in R2 should be used. All other bits must be clear.
Do not alter R2 between calls for finding required memory and finding actual data. If R2 = -1 on exit, then all fonts have been found and returned data is invalid.