[Oberon] Experimental Oberon released

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Sun Jan 24 22:41:50 CET 2016


Hi Jörg,
Correct - one can indeed change the font size using Edit.ChangeFont. However, the line space of a text line is fixed in Original Oberon (to 12 pixels). But if one changes the font size of a line to number that is larger than 12 (for example to 24 pixels using Edit.ChangeFont Times24.Scn.Fnt), then the line with the larger font size will simply overlap the preceding one, and the result will not look particularly nice (of course, the user can always insert an extra line in that case to avoid the overlapping..).
In Experimental Oberon the line space itself can have any value (a line can thus accommodate text of any height, with automatic readjustments of the remaining lines). It was included as it turned out to be fairly easy to make that possible (but of course, it also means that text rendering can no longer be done in a single pass as was the case in Original Oberon; however, there is practically no measurable performance penalty of using two passes instead of one for text rendering, because the text line to be rendered will be read from the file buffer during the second pass and not from the file again).
Note that the code in Experimental Oberon mainly serves experimental purposes, e.g. to find out whether a proposed feature is actually worth the effort or not. Not saying that a particular feature (e.g. variable line spaces) is actually needed in all use cases. One can always find arguments for or against a proposed feature. If all you are doing is coding, then variable line spaces are a dispensable luxury indeed.
Andreas

 

      From: Jörg Straube <joerg.straube at iaeth.ch>
 To: Andreas Pirklbauer <andreas_pirklbauer at yahoo.com>; ETH Oberon and related systems <oberon at lists.inf.ethz.ch> 
 Sent: Sunday, January 24, 2016 9:45 PM
 Subject: Re: [Oberon] Experimental Oberon released
   
Hi Andreas
Different font sizes are supported natively in the original Project Oberon without additional code

Select a stretch of text and execute eg Edit.ChangeFont Oberon12.Scn.Fnt
Jörg
Am 23.01.2016 um 13:16 schrieb Andreas Pirklbauer <andreas_pirklbauer at yahoo.com>:


An experimental version of Original Oberon 2013 (called "Experimental Oberon") has been released on GitHub:
https://github.com/andreaspirklbauer/Oberon-experimental 

Installation instructions for Experimental Oberon are provided in the README file:
https://github.com/andreaspirklbauer/Oberon-experimental/blob/master/README.md

A document describing the differences between Experimental Oberon and Original Oberon can be found in the Documentation folder:
https://github.com/andreaspirklbauer/Oberon-experimental/blob/master/Documentation/DIFFERENCES-between-Experimental-Oberon-and-Original-Oberon.pdf

The Documentation folder also contains a few demo videos (screen recordings), for example:
https://github.com/andreaspirklbauer/Oberon-experimental/blob/master/Documentation/DemoMultipleVirtualDisplays.mov

https://github.com/andreaspirklbauer/Oberon-experimental/blob/master/Documentation/DemoOberonContinuousFractionalLineScrollVariableLineSpace.mov

If your browser cannot display these videos (or if GitHub prevents you from viewing such large files), you can click on the 'Raw' button to download the videos to your computer.
The source code of Experimental Oberon can be found in the Sources folder:
https://github.com/andreaspirklbauer/Oberon-experimental/tree/master/Sources

Note: This version of Oberon has been released for purely experimental (and hobby) purposes. You can freely re-use it so long as you state the origin of the code.
Andreas P.








--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160124/d1d721fa/attachment-0003.html>


More information about the Oberon mailing list