[Oberon] Re (2): Has V4 got <default font> like in S3's Oberon.Text?

Jörg Straube joerg.straube at iaeth.ch
Sun Nov 22 14:40:23 CET 2020

Hi eas lab

> ... a big-bold default font like S3 could.

I guess with V4 you mean the LinzOberon.
If so, you can set the default font like so

   System.Set System DefaultFont := Syntax14.Scn.Fnt

and start LinzOberon again. Remember: the command above only changes the system font (used in title bars and menu) and the font used in NEW documents.
Fonts in EXISTING documents stay as they are, as they are stored in the document itself.

If you however want to replace the look of Syntax10.Scn.Fnt globally into a larger one then you can modify the global font mapping. Firstly, this command shows you the global font mapping in place:

   System.Get FontMap

Now you could do the following:
   System.Set FontMap Syntax10.Scn.Fnt  := Arial14.Scn.Fnt
   System.Set FontMap Syntax10i.Scn.Fnt  := Arial14i.Scn.Fnt
   System.Set FontMap Syntax10b.Scn.Fnt  := Arial14b.Scn.Fnt
   System.Set FontMap Syntax10m.Scn.Fnt  := Arial14m.Scn.Fnt


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20201122/9ef89f27/attachment.html>

More information about the Oberon mailing list