🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #41030

Re: GDOS fonts, metafiles

#41030
From: TELLABS CANADA
Date: Sat, 17 Feb 1990 18:19
47 lines
2530 bytes
>From: fortin@seas.gwu.edu (robert fortin)
>Orga: The George Washington University, Washington, D.C.
>I am writing a small graphing program, and I would like to
>be able to use different fonts to label the graphs and charts,
>and use metafiles to save the graphs.
.. 
>How do I load and access the fonts. Do I just use the VDI load
>fonts and select font calls. I have Gdos loaded already..
 
Yes in fact you do! C! Call vst_load_fonts(handle,select) where h/dle is 
your virtual workstation handle, and select is 0. All of your fonts will 
be loaded into memory in one time-consuming bunch at this point (this, I 
am lead to believe is what is meant by setting select to 0, future
revisions of GDOS will allow you use other numbers, in order to select
specific fonts to load).
 
One useful thing to do just after loading up fonts, is performing a call 
to vq_extnd(handle,owflag,work_out), where owflag is set to zero,
meaning you'd like to know the current status of the regular,
non-extended work_out variables. work_out[10] will contain the number of 
fonts available to you now. To know the names of these fonts, or
anything else for that matter, you can use the calls vqt_name and
vqt_fontinfo respectively.
 
To set any particular font, simply call vst_font(handle,font) where font 
represents the N'th fonl loaded by vst_load_fonts. What you can expect
back from the call is the font number (that integer that is unique to
each GDOS face) :-( I've always wished that you could call the fonts by
this ID rather than the way things really work.
 
Above I mentioned a future release of GDOS, the ramifications of this
are, unfortunaltely, that your version 1.1 is the latest to be released. 
We can all dream of 2.0 (which the rumour mill says is on its way), the
features of which I won't speculate about (although if you live close 
to a rumour mill, you're sure to hear about individually loadable fonts, 
bezier curves, maybe even outline fonts :-)) )
 
Regards,
Roman @ tellabs
 
#include<disclaimer.h>
 
--
Tellabs doesn't know what I'm saying.. lets keep this between you and
me!
---
 * Via ProDoor 3.1R 
Technical Details
Message-ID: <90021714075391@masnet.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!tellabs.canada

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!tellabs.canada
From: tellabs.canada@canremote.uucp (TELLABS CANADA)
Newsgroups: comp.sys.atari.st
Subject: Re: GDOS fonts, metafiles
Message-ID: <90021714075391@masnet.uucp>
Date: 17 Feb 90 18:19:00 GMT
Organization: Canada Remote Systems Limited, Mississauga, ON, Canada
Lines: 47