Page 1 of 1

text height / text size

Posted: Sun Jan 17, 2016 6:05 pm
by Da_Elf
I want the line height between lines to be set. but then after i change the text size the line height goes back to default. im using text height to set the distance between lines. how else can i do this?

Re: text height / text size

Posted: Sun Jan 17, 2016 7:51 pm
by bn
If you want to show text higher from the baseline, more in between the lines use textShift.

Code: Select all

set the textShift of char 1 to - 1 of field "myField" to - 5
experiment with values from - 3 on downwards.

If this is not what you want please explain.

What you observe is the normal behavior. If the fixedLineHeight of a field is true, which it is by default, you can set the textHeight to any value you want but when changing the textSize the textHeight returns to the value for this textSize. You could set the textSize and then in the same script the textHeight to your desired value though.

Kind regards

Bernd

Re: text height / text size

Posted: Sun Jan 17, 2016 11:30 pm
by Da_Elf
I had to make sure to set textheight after textsize. was hoping there was something like "leading" for fonts

Re: text height / text size

Posted: Sun Jan 17, 2016 11:47 pm
by bn
leading can be faked by textShift, see above.

Kind regards
Bernd