Thread View: comp.sys.acorn.tech
1 messages
1 total messages
Started by Lorcan Mongey
Tue, 15 Dec 1992 00:48
Size of text in outline font?
Author: Lorcan Mongey
Date: Tue, 15 Dec 1992 00:48
Date: Tue, 15 Dec 1992 00:48
17 lines
898 bytes
898 bytes
In article <1992Dec10.103203.23111@reks.uia.ac.be>
derijkp@reks.uia.ac.be (Peter De Rijk) writes:
> The subject sais it. Could anyone tell me how I can get the size of a
> certain string in an outline font from BASIC. (I haven't got the PRM's)
DIMbuffer%&100
string$="Hello world"
$buffer%=string$
SYS "Font_FindFont",,"Trinity.Medium",16*10,16*10 TO handle%
SYS "Font_StringWidth",handle%,buffer%,&FFFF,&FFFF,-1,LEN(string$)
TO ,,len%
PRINTlen%
len% is in millipoints.
Lorcan
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads