Re.[Oberon] TextGadgets.Frame: Linespacing

cglur at onwe.co.za cglur at onwe.co.za
Fri Sep 20 20:46:21 CEST 2002


Patrick.Hunziker at unibas.ch Wrote:
> I would like to change the linespacing in a text displayed/printed
> within a TextGadgets.Frame. 

I had an unintented increase of line spacing, when I added the "ring a" 
char of the Swedish alphabet in its free location of Oberon10.Scn.Fnt,
via FontEditor.Panel.  Apparently this new/additional char was one pixel
higher than all others, and the display automagically sets to the highest
char.  And the line spacing increased accordingly.

I'm guessing that if one sets an unused char to 'max-pixel-height'
(do this manually to experiment - copy the intended font to Tst.Scn.Fnt)
then when you select and Script.ChangeFont Tst.Scn.Fnt, the lines will
adjust for the 'bigger dummy char'.   Remember to re-boot for the
new font library to take effect.  

Can someone tell how to have the system see the new font/library
without rebooting ?

-- Chris Glur.




More information about the Oberon mailing list