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

peter at easthope.ca peter at easthope.ca
Thu Aug 11 19:50:17 CEST 2016


>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?

> 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.

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.  

Regards,                        ... Lyall E.





-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel +1 360 639 0202 
http://easthope.ca/Peter.html Bcc: peter at easthope. ca



More information about the Oberon mailing list