Scribusoid

Author Topic: Search function in pdf files  (Read 1342 times)

Friend

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Search function in pdf files
« on: January 19, 2018, 06:02:05 pm »
Hi

I have a problem with the pdf files that I generate from exporting my Scribus files.
I can't use the search function in the pdf file as when I enter a word that I know for certain is in the pdf file the result comes out as "no word was found".
Why is that? Can anyone help?
I have attached a pdf file.

Thanks in advance.
Birgitte

GarryP

  • Hero Member
  • *****
  • Posts: 1600
  • Karma: 25
  • Scribus User
Re: Search function in pdf files
« Reply #1 on: January 20, 2018, 10:27:45 am »
It looks like you have outlined the font rather than embedding it.

When a font is outlined, the glyphs are converted to curves - like vector art - and cannot be searched as they are no longer text, they just look like text.

Have a look in the "Fonts" tab of the "Export to PDF" dialog under "Fonts to Outline". Select the font and press the "Up" arrow to move the font to the "Fonts to Embed" list. If Scribus won't let you move it then you either have to accept that you can't embed it or change to a font where you can.

Friend

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • Scribus User
Re: Search function in pdf files
« Reply #2 on: January 20, 2018, 07:22:46 pm »
THANK YOU SO MUCH, Garry.
You have absolutely made my day!

My font was Palatino which Scribus wouldn't embed but then I changed it to Garamond which it would embed and now I can search and find words in the pdf-file. :)

Again - THANK YOU SO MUCH.
It warms my heart that people like you exist. :)

Regards
Birgitte

GarryP

  • Hero Member
  • *****
  • Posts: 1600
  • Karma: 25
  • Scribus User
Re: Search function in pdf files
« Reply #3 on: January 21, 2018, 10:27:36 am »
You're very welcome. I'm glad to be of assistance.

benberlin

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Re: Search function in pdf files
« Reply #4 on: January 31, 2018, 04:08:00 pm »
Hi there,

I have the same problem and was trying to solve this with help of the existing threads, but unfortunately it doesn't work.

OS: Linux Mint
Scribus : 1.4.6.

A PDF export with a blank document works (with search function).

But in my main document the search function doesn't work. I've embedded all fonts (I mainly use Google Open Source Lato Font).
I already searched for embedding restrictions, but there are none (https://www.fontsquirrel.com/license/lato).
First I could not embed LATO, so I deactivated "subset" in Fonts.

upload photo


What am I doing wrong?


upload photo

Best,
Ben

GarryP

  • Hero Member
  • *****
  • Posts: 1600
  • Karma: 25
  • Scribus User
Re: Search function in pdf files
« Reply #5 on: January 31, 2018, 06:04:04 pm »
Welcome to the forum Ben.

Have you checked which fonts are actually embedded in the PDF, rather than what Scribus says it is going to embed? The two things are not always the same.

Most decent PDF viewers will let you see the font list somehow but it depends on the application (usually File -> Properties, or something like that).

If you have all of the correct settings for embedding - which you seem to have - and Scribus doesn't embed the font there's usually not much you can do about it. It sometimes doesn't embed fonts for a reason but it won't tell you what that reason was.

benberlin

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Re: Search function in pdf files
« Reply #6 on: February 05, 2018, 03:23:48 pm »
Thanks Gary!

I just checked it with the linux document viewer and no Lato Font is embedded. oO

Any idea how to solve this?

Best,
Ben

GarryP

  • Hero Member
  • *****
  • Posts: 1600
  • Karma: 25
  • Scribus User
Re: Search function in pdf files
« Reply #7 on: February 05, 2018, 04:37:02 pm »
I've just downloaded the Lato font family from Font Squirrel and installed it onto Windows 10.
A quick look at the Fonts folder shows me that, for example Lato Bold: Font Embeddability is Installable.

I created a new document using three variants - regular, bold, and light-italic - but Scribus 1.4.6 isn't letting me embed them.
This tells me that there's probably something about those fonts that Scribus doesn't like.

In Scribus, look in "File -> Preferences / Fonts", find the Lato font and scroll to the right. If the "Subset" check-box is checked then Scribus cannot embed the font for one or more reasons given here: http://forums.scribus.net/index.php/topic,2523.0.html

Unfortunately there's probably nothing you can do about this. If Scribus won't embed the font then it can't be embedded.

P.S. I have no idea if changing the Subset check-box value has any effect but I'm personally not willing to try in case I cause other problems.

benberlin

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Re: Search function in pdf files
« Reply #8 on: February 06, 2018, 03:47:52 pm »
thank you for your effort gary!!
I contacted the lato font crew, maybe they have a solution for this issue.

GarryP

  • Hero Member
  • *****
  • Posts: 1600
  • Karma: 25
  • Scribus User
Re: Search function in pdf files
« Reply #9 on: February 07, 2018, 11:21:17 am »
You're welcome.

Sidebar: If you have a choice between installing an OTF font rather than a TTF font, for DTP purposes, it's usually best to go with the OTF version for all sorts of reasons which can be read about in many places on the web. (This might not always be true but it's usually recommended.)

benberlin

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
  • Scribus User
Re: Search function in pdf files
« Reply #10 on: May 22, 2018, 02:54:22 pm »
FYI

It works with the new Scribus (1.5.4.)

 

palmate