[Oberon] The underscore nuisance, a little hack.
John Drake
jmdrake_98 at yahoo.com
Wed Oct 29 16:14:43 CET 2003
Thanks Vasile! Good work. See, there is cooperation
in the Oberon world. *wink*
I've tested your font and it works great. One thing
however. There is an easier way to change the
default font that doesn't require recompiling
anything. In Native Oberon system variables are
kept in the file "Oberon.Text". Just change the
line:
"DefaultFont"= Syntax10.Scn.Fnt
to
"DefaultFont"= Oberon10u.Scn.Fnt
In Windows PlugIn Oberon this is done through
IniEdit.Panel and choose "Fonts" from the
iconizer. Once the change is made, and Oberon
is restarted, you have "normal" underscores.
Again, good work.
Regards,
John M. Drake
--- Vasile Rotaru <vrotaru at seznam.cz> wrote:
> Hi, all
>
> Using the FontEditor, I have slightely modified
> the Oberon??.Scn.Fnt in such a way as to make the
> underscore an underscore. I have renamed this set of
> fonts to Oberon10u.Scn.Fnt, Oberon12u.Scn.Fnt, and
> so on. (u stands for underscore).
>
> Intended usage is something like this: insert in
> the code for EditTools.open (the part which is
> handling Unix/Ascii files) the following two lines:
>
> Texts.SetFont(W, Fonts.This("Oberon12u.Scn.Fnt") );
> <original code>
> Texts.SetFont(W, Fonts.Default);
>
> and you'll have in the Oberon text an underscore
> which is more like a real one. (That is if you need
> it).
>
> It is not that hard, to modify the fonts by hand,
> but if you want them you can get them from here
>
> www.webpark.cz/vrotaru/no/ou.zip
>
>
> Regards, Vasile
> --
> Oberon at inf.ethz.ch mailing list for ETH Oberon and
> related systems
> https://www.mail.inf.ethz.ch/lists/listinfo/oberon
__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
More information about the Oberon
mailing list