[Oberon] Global font change on OLR and 4K resolution.

Peter Matthias PeterMatthias at web.de
Mon Aug 15 19:00:46 CEST 2016



Am 11.08.2016 um 19:50 schrieb peter at easthope.ca:
>>From PeterMatthias at web.de  Sun Apr  3 15:10:31 2016
>> Default display size of OLR is (1280-16)x(1024-32). This can be
>> configured via environment variables OWIDTH and OHEIGHT.
>
> (1280-16) means the window is 1264 pixels wide.  Not 1280 pixels
> wide at 16 pixels offset.
>
>> Negative values are relative to screen size.
>
> OWIDTH=-80 means 80% of screen width?

No. That means screen width -80 pixel.

>> Or by changing the constants defaultWidth and
>> defaultHeight inside OLR.Display.Mod and recompiling.
>
> Appears the window is located by Left :=0; ... Bottom :=0; in the
> body of Display.  Change and recompile to shift the window.

For me, the windows open on free space on the screen. Which is where I 
am comfortable with.

> FWIIW,
> https://en.wikibooks.org/wiki/Guide_to_X11/Starting_Programs#Specifying_window_geometry
> describes a convention which would make OWIDTH and OHEIGHT
> unnecessary.  The offsets can be useful with your 4K device.

This conventions uses libX11 which lacks in OLR.

Regards,
	Peter


More information about the Oberon mailing list