text height / text size
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
text height / text size
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
If you want to show text higher from the baseline, more in between the lines use textShift.
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
Code: Select all
set the textShift of char 1 to - 1 of field "myField" to - 5
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
I had to make sure to set textheight after textsize. was hoping there was something like "leading" for fonts
Re: text height / text size
leading can be faked by textShift, see above.
Kind regards
Bernd
Kind regards
Bernd