[Oberon] font size in oberon-risc-emu

Rudolf Sykora rsykora at disroot.org
Sun Feb 11 12:00:31 CET 2024


Michael Schierl <schierlm at gmx.de> wrote:
> Am 08.02.2024 um 15:21 schrieb Colby Russell:
> > On 2/8/24 02:07, rsykora at disroot.org wrote:
> >  > do you know if there is a simple means to change (enlarge)
> >  > the font size used in Peter De Wachter's oberon-risc-emu?
> >
> > The name of the file is hardcoded.  You need to either recompile the
> > system or rename the file containing the larger font (so it has the name
> > of the smaller).  The latter approach will mess up the display of texts
> > that have "looks" (i.e. formatted with different fonts).
> 
> In case you prefer it simple and are willing to slightly deviate from
> your goal, you could also start the emulator with e.g. --zoom 1.5
> parameter, which will scale all screen output by factor 1.5. Resulting
> in a slightly more blurry screen, but if your goal was to increase the
> font size because you cannot read the small one on your hi-dpi screen,
> it probably does not matter.
> 
> Alternatively, as Colby told, you can increase only the font size within
> the Oberon System (regardless of emulator used) by either replacing the
> default font tile or editing the font name in Fonts.Mod and recompiling
> that module (not the whole system required). That way, other UI elements
> (like mouse pointer or scrollbars) will keep their size and you won't
> have any blurry screen.


Thanks to both M. Schirl and C. Russell. I tried both the
--zoom and editing the default font in Fonts.Mod (about the
last line in that file) and recompiling the module. Both
worked, I like changing the font more.


Best regards,
Ruda



More information about the Oberon mailing list