Text Background Images?

Previous topic - Next topic

Valentor

Is it possible to create a background that auto-fits to a text area? Specifically I'm looking for something like you can find in DM notes in D&D or on the Homebrewery where it basically creates a graphical header and footer and then fills in the middle with a color to fit a block of text. Reference image below. Thank you!


PatJr

maybe you could just use a master page and layers to that?

Valentor

Would that allow the text backgroung to "scale" with the size of the text?

Alternatively is there a way to add a stroke to only the top and bottom of text blocks as opposed to the entire thing?

utnik

hi valentor

if i understand your idea, this is the correct way:
  • define a background color for your text field (f2)
  • set the correct text 'distances' (f3)
  • let scribus adjust the height of the text field to the content
unfortunately the last step is still buggy and needs to be done manually.

utnik

Valentor

Quote from: utnik on October 04, 2023, 11:26:49 PMhi valentor

if i understand your idea, this is the correct way:
  • define a background color for your text field (f2)
  • set the correct text 'distances' (f3)
  • let scribus adjust the height of the text field to the content
unfortunately the last step is still buggy and needs to be done manually.

utnik

Hey Utnik,

This 100% gets me the color and spacing I need for the background, however it doesn't accomplish the black "border lines" or "decoration" on the top or bottom. Is there a way to get something similar?

AdmFubar

You might want to try a vector graphic of the shape you want , set the parameters of fill and stroke colors, and convert it to a text frame.
Using Scribus 1.6.1, openSUSE 15.5
Advanced hobbyist

utnik

hi valentor

Quote from: Valentor on October 04, 2023, 11:32:37 PM...it doesn't accomplish the black "border lines" or "decoration" on the top or bottom. Is there a way to get something similar?

i would do it manually by creating the 'decoration lines' and use 'page'
→ 'snap to items'
to place them after the height of the text frame is adjusted.
afaik there is no automatism for this...

utnik