[Oberon] Global font change on OLR

Peter Matthias PeterMatthias at web.de
Sun Apr 3 15:10:31 CEST 2016



Am 03.04.2016 um 05:16 schrieb Srinivas Nayak:
> Dear Peter,
>
> I am worried if a solution to my problem is difficult to achieve. :-(

Oberon misses some years of development...

> Another surprising thing is that, right now I have OLR as well as
> NO alpha installed on Virtualbox.
> NO on vbox has resolution of 800*600, configured to vesa 2.0 mode
> 800*600*8.
> OLR is bigger than that. Don't know how to check the resolution. (looks
> like it is 1000+ * 800+)

Default display size of OLR is (1280-16)x(1024-32). This can be 
configured via environment variables OWIDTH and OHEIGHT. Negative values 
are relative to screen size. Or by changing the constants defaultWidth 
and defaultHeight inside OLR.Display.Mod and recompiling.

> But in both the Oberon, I see small fonts, hard to read!
>
>
> Don't you all suffer from small fonts?

I don't (yet) suffer from it. But that might come soon.

Regards,
	Peter
>
> On 04/03/2016 01:07 AM, Peter Matthias wrote:
>>
>>
>> Am 02.04.2016 um 12:17 schrieb Srinivas Nayak:
>>> Dear All,
>>>
>>> I found OLR easier to use while I am on Linux.
>>> I think the font size of OLR Oberon is small.
>>> How can I change the font size to a bigger one?
>>
>> Oberon hast the fond, including it's size stored in the text. So there
>> is no easy way to change size for existing text. For new text, you can
>> make a new line in the System section of Oberon.Text (e.g. below
>> TimeDiff line) with DefaultFont = "Oberon14.Scn.Fnt". However, the
>> textual system has some problems with non standard Font sizes.
>>
>> Maybe the easiest way would be to rename the font files like
>> "System.RenameFiles Oberon10.Scn.Fnt => Oberon8.Snc.Fnt ~"
>>
>> With the appearance of Retina displays, a general solution is needed.
>>
>> Regards,
>>      Peter
>> --
>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
>> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>


More information about the Oberon mailing list