[Oberon] Re: Configuration.Mod and font sizes

Charles Angelich cangelich at famvid.com
Thu Aug 15 05:24:21 CEST 2002


>Message: 4
>Date: Tue, 13 Aug 2002 09:46:41 -0400
>From: "Douglas G. Danforth" <danforth at greenwoodfarm.com>
>Organization: Greenwood Farm Technologies
>To: oberon at inf.ethz.ch
>Subject: Re: [Oberon] default system font
>Reply-To: oberon at inf.ethz.ch

Hello Doug -

>Take a look at Config.Mod (Configure.Tool) where you can place any 
>code you like that is executed at the startup of Oberon.

Thanks for the suggestion.  Configuration.Mod/Tool will certainly
be convenient to use for automation of multiple commands sometime in
the near future.

I have two Oberon installs.  One using 1024x768 and the other using
640x480 displays.

The smaller display loses the right side command modules of the menu
bar ("Edit.Search .Store" are not showing).  The larger 1024 display
at Oberon10.Scn.Fnt is almost unreadable (for me) when attempting to 
change .Mod file source code.  I can't see the difference between the 
colon ":" and the semi-colon ";" for example.  Not good.

What I had hoped to do:

Test for 1024 or greater display size and increment all text displayed
in the user track if TRUE.

Test for 640 display and decrement the text used for the menu bars in
the system track.

With no "header" files for variable declarations and mulitple variables
being used in various Modules to represent Default.Font and/or CurFnt
it has been quite a puzzle and I'm not winning. :-\

Since Oberon uses a pointer to the first char of the required font
within the font library and a fixed number of chars exist in each font 
size in that library it should be possible to increment the pointer by 
some fixed integer to point either to the previous/smaller font or the 
next/larger font's first char as long as it doesn't increment into a
totally different set of fonts. ;-)



Charles Angelich

The Ghost in the Machine!

DOS and W31 Tech website:
http://www.undercoverdesign.com/dosghost

Stories, poems, music, and photos website:
http://www.undercoverdesign.com/dosghost/faf





More information about the Oberon mailing list