[Oberon] units of voff of a Text

peter at easthope.ca peter at easthope.ca
Sun Nov 5 17:43:18 CET 2017


Hi,

http://www.ethoberon.ethz.ch/ethoberon/defs/Oberon.Def.html
"(* Remarks
  ...
The fields fnt, col and voff give information about the requested 
font, color (index), and vertical offset (in pixels)."

Script.Tool has this.
Script.ChangeOffset <offset>		+/- percent of font height

Fonts.Default here is Oberon10.Scn.Fnt.  If Script.ChangeOffset 30 is 
applied on Text using this font, voff should be 30% of 10 which is 3 
pixels.  Nevertheless voff is set to 30.  So I conclude that 
Script.Tool should be corrected.
Script.ChangeOffset <offset>		+/- pixels of font height

Can anyone agree?  A better explanation?

Thanks,                    ... Lyall E.

-- 

123456789 123456789 123456789 123456789 123456789 123456789 123456789
Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
http://easthope.ca/Peter.html              Bcc: peter at easthope. ca



More information about the Oberon mailing list