[Oberon] Global font change on OLR
Peter Matthias
PeterMatthias at web.de
Sun Apr 3 22:43:18 CEST 2016
Correction: Environment variables work as they should.
You have to export them before they are used for child processes:
$export OWIDTH=800 OHEIGHT=600
$./oberon
works.
Am 03.04.2016 um 17:43 schrieb Peter Matthias:
> Thanks for the information.
> Environment variables here don't work as they should.
>
> ~/spot/OLR/olr# OWIDTH=800 OHEIGHT=600 ./oberon
>
> should work.
>
> Regards,
> Peter
>
> Am 03.04.2016 um 16:41 schrieb Srinivas Nayak:
>> Dear Peter,
>>
>>> 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.
>>
>>
>> ~/spot/OLR/olr# echo $OHEIGHT
>> 700
>> ~/spot/OLR/olr# echo $OWIDTH
>> 1000
>> ~/spot/OLR/olr# ./oberon
>> ~/spot/OLR/olr# OWIDTH=1024-16
>> ~/spot/OLR/olr# OHEIGHT=768-32
>> ~/spot/OLR/olr# ./oberon
>> ~/spot/OLR/olr# OWIDTH=1024-5
>> ~/spot/OLR/olr# OHEIGHT=768-10
>> ~/spot/OLR/olr# ./oberon
>> ~/spot/OLR/olr# OWIDTH=800-10
>> ~/spot/OLR/olr# OHEIGHT=600-5
>> ~/spot/OLR/olr# ./oberon
>>
>> I tried all these.
>> I see some changes due to the negative value.
>> The window starts at some offset from left hand side.
>> But no changes in window size!
>>
>> Am I doing wrong?
>>
>>
>> With thanks and best regards,
>>
>> Yours sincerely,
>> Srinivas Nayak
>>
>> Home: http://www.mathmeth.com/sn/
>> Blog: http://srinivas-nayak.blogspot.in/
>>
>> On 04/03/2016 06:40 PM, Peter Matthias wrote:
>>>
>>>
>>> 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
>>>>
>>> --
>>> 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
>>
> --
> 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