(Auto) Font-Size to match text frame and or space available, is it possible?

Previous topic - Next topic

Lukibuk99

Hey, guys ;D
I'm fairly new to Scribus, so please tell me when I'm in the wrong forum. :)

I want to create A6-Spellcards for my "Dungeons and Dragons"-Character by mail-merging a layout in Scribus and my CSV-File and ScribusGenerator.
After a few trials, I noticed that my cards look fairly empty and sad most of the times, because most spell descriptions are pretty short.

In case though there is a spell with a huge description, I wanted to be prepared, so that I don't have to adjust the font size all the time.


TL;DR
But now that my cards look so empty, I wanted to ask you guys, if there is a way to avoid this problem. Is there maybe even the possibilit to let your font autoscale to a certain degree to match the text frame and the space available?


Thanks for reading!


Kind regards

Lukibuk99

a.l.e

Sorry, you're in the wrong forum.

Here you will be told, that (automatically) scaling the font to fit some text is not a good idea. : - )

More seriously, Scribus (probably rightly) does not offer this option, but it would not be hard to write a Script that processes all the text frames to frames to make their text fit.

In my workflows, the preferred ways to make text fit in the available space are

  • hyphenation
  • slightly reduce the tracking (on single words?)
  • slightly tweak the extension of the glyphs
  • if the above is not enough, reduce the length of the text, reset all tracking and extension and restart from point 1.

Of course, you I do it manually, for each text frame, but it might also be possible to automate that (up to the "reduce the length of the text"... but we have AI now that can also be integrated... never mind.).
It's a bit harder to implement, it won't fix all the cases, but I can thinking of giving it a try, if anybody thinks it can be useful...

AdmFubar

Pagestream has a feature that is close to this. You could select the text tool and click on the page and start typing, the text box would appear with the text box sized to the font. I may have to try the demo and see how it works exactly as it has been about 30 years since i've used it.
Using Scribus1.6.1, 1.7.0 openSUSE 15.6
Advanced hobbyist

prcek

I've seen a script doing it somewhere recently.
Basically it was increasing the font until text frame was overflowing and then decreased the font until it was not. I think a magic constant was there, for a corner case.

I agree with a.l.e it is not a greatest idea.
--
Any job looks easy until you try doing it yourself.