Scribusoid

Author Topic: changing all instances of a font across a document  (Read 455 times)

mwatkins

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
  • Scribus User
changing all instances of a font across a document
« on: April 02, 2017, 02:37:58 am »
Hello.

I'm working on a document with a large number of unlinked text frames. My primary font is Tahoma, and as I didn't have a Tahoma Italics font, I was using Arial Italics when italics were needed. However, I've since obtained a Tahoma Italics font and would like to be able to change all instances of Arial Italics to Tahoma Italics across all text frames. Doing it one-by-one will be horribly tedious and time consuming. Is there an easy way to do this?

Thanks!
MW

utnik

  • Hero Member
  • *****
  • Posts: 1092
  • Karma: 13
Re: changing all instances of a font across a document
« Reply #1 on: April 02, 2017, 12:15:15 pm »
hi matthew

go to ‚document setup‘ → ‚fonts‘ and deselect arial italic, save and close your file. when you reopen it, a replacement dialog will pop up. here you select your tahoma italic and check the box to make the change permanent.

the better way would be to work (almost) always with styles (f3).
if you'd defined a character style with arial italic and applied it in the first place, you could easily change the style to tahoma italic and apply the changes…

direct formatting is a bad idea when working on multi page documents!

utnik

Greg P

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
  • Scribus User
Re: changing all instances of a font across a document
« Reply #2 on: April 04, 2017, 08:25:05 pm »
As utnik says, you illustrate a reason to use Paragraph and Character Styles. This would still be a solution -- create a Paragraph/Character Style using Tacoma, then use Story Editor to apply this where needed.

If you don't mind using a plain text editor, you could save your document, then open in a text editor (not Scribus), and do a Search/Replace for Arial, replacing with Tacoma (or maybe Arial Italic, replacing with Tacoma Italic). Save under a different name at first, just to be safe.

utnik

  • Hero Member
  • *****
  • Posts: 1092
  • Karma: 13
Re: changing all instances of a font across a document
« Reply #3 on: April 04, 2017, 10:55:39 pm »
hi matthew

…create a Paragraph/Character Style using Tacoma, then use Story Editor to apply this …

the story editor is useless for character styles, but you can apply them in the frame with 'properties' (f2) → 'text' → 'style settings'.

utnik

GarryP

  • Hero Member
  • *****
  • Posts: 1406
  • Karma: 21
  • Scribus User
Re: changing all instances of a font across a document
« Reply #4 on: April 06, 2017, 11:48:42 am »
You should theoretically also be able to use Search/Replace to change from one font to another but you would have to do this on a frame-by-frame basis (or with frames in a chain) as it doesn't work at a document level.

I say "theoretically" because sometimes Scribus enters a non-responsive mode. It seems to work okay with short amounts of text (e.g. single paragraphs) but it doesn't seem to handle long texts very well. Save your work before trying it.

 

palmate