[Oberon] font size in oberon-risc-emu

Michael Schierl schierlm at gmx.de
Thu Feb 8 22:21:18 CET 2024


Hello,


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.


Regards,


Michael



More information about the Oberon mailing list