-
December 2nd, 2020, 12:48 #1
- Join Date
- Sep 2018
- Posts
- 75
Line spacing in multiline stringfields
Hi,
the spacing between lines is quite big in stringfields (or formatted text). Can it be reduced ?
(without shrinking the text, setting a lower multilinespacing seems to also shrink the text)
Thank you
-
December 2nd, 2020, 17:23 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,553
Can you give some screenshot examples of areas you are concerned about?
(On Windows, you can use Windows key plus Shift and S key to make quick snips of your screen. Not sure easiest way on Mac/Linux.)
Regards,
JPG
-
December 2nd, 2020, 18:01 #3
- Join Date
- Sep 2018
- Posts
- 75
The fields are "basicstring" from Core with multilinespacing 20.
It looks like a complete empty line between the text lines.
image.png
-
December 2nd, 2020, 22:04 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,553
Most of the fonts used in CoreRPG are specified to be 16 units high with a 2 unit gap above and below. (units are equivalent to pixels at 100% UI scale).
It looks like you are running a custom ruleset and/or theme extension that is probably specifying it's own font and spacing.
Regards,
JPG
-
December 3rd, 2020, 08:37 #5
- Join Date
- Sep 2018
- Posts
- 75
It is custoum, but it is layered on CoreRPG and does not overwrite sheettext (which is used for simplestring which is the basis for basicstring).
This means I have to edit the ttf file or are there tags in the <font> definition?
Thank you
-
December 3rd, 2020, 17:56 #6
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,553
The sheettext template and the sheettext font are separate assets. If the font definition is overwritten, it will affect any time that sheettext is used.
I've attached a picture of the font displayed in the CoreRPG ruleset in a similar record.
If you want a different display, you'll need to override the templates for lines. Remember that some characters are taller; and some characters descend below the baseline. Make sure you account for those when specifying template overrides.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks