Author Topic: Create style without font weight/slant?  (Read 317 times)

elbitjusticiero

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Scribus User
Create style without font weight/slant?
« on: March 02, 2022, 10:27:10 pm »
Hi all!

I've been looking for a way to preserve bold and italic formatting from .odt files I import into Scribus. The problem is detailed here.

Importing the text from the .odt is easy, but as soon as I select a style in Scribus in order to format it properly, all italics are lost. This is because the definition of my style necessarily includes a setting for the font: regular, bold, italic, or bold italic.

Is there any way to leave this out for the Scribus style, so that applying it to a text doesn't change the font variant?

Thanks in advance!

toyotadesigner

  • Full Member
  • ***
  • Posts: 200
  • Karma: 0
  • Active Scribus Mac User
    • architectural, industrial and business photographer
Re: Create style without font weight/slant?
« Reply #1 on: March 04, 2022, 09:50:55 am »
Double-click a text frame, cmd+a on macOS, ctrl+a on PC to select all text, then use »Text Properties« and just modify the font face or size. This will keep the imported styles (normal/italic) intact.
Nur wenige wissen, wie viel man wissen muss, um zu wissen, wie wenig man weiss.
Only few know how much you have to know to know how little you know.
Sólo unos pocos saben lo mucho que hay que saber para saber lo poco que se sabe.

— Werner Heisenberg [German theoretical physicist]

elbitjusticiero

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
  • Scribus User
Re: Create style without font weight/slant?
« Reply #2 on: March 18, 2022, 02:08:54 pm »
Thanks, but that's not really practical when you need to update dozens of text frames in a magazine. The style includes also paragraph settings like line spacing and indents that I'd need to update for every frame. This would be painstaking and very error prone.

AdmFubar

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Scribus User
Re: Create style without font weight/slant?
« Reply #3 on: March 19, 2022, 10:55:40 pm »
            x              (x)                    I'm wondering if the issue is direct formatting of the odt file, and not using styles within it. Open the odt in LibreOffice and see if there are styles used. If there are, then the issue may be that scribus isnt using the styles provided from odt file.
Can any scribus developers weigh in on this?