PDF Export Not Searchable

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
camel_Trophy
Posts: 40
Joined: Fri Feb 17, 2017 5:03 pm

PDF Export Not Searchable

Post by camel_Trophy » Thu Jan 04, 2018 11:29 pm

Greetings all and Happy New Year,

I exported the whole database and today someone reported the PDF file is not searchable, it appears it's something to do with fonts and Unicode. Any suggestions?

Also, the PDF file has my email address in the footer part of the copyright notice, can I remove that?

Thank you.

Thorsten
Posts: 14539
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF Export Not Searchable

Post by Thorsten » Fri Jan 05, 2018 5:03 pm

Hi,

I'll check the issue with the PDFs.

To change the footer, please check this method:

https://github.com/thorsten/phpMyFAQ/bl ... r.php#L398

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

camel_Trophy
Posts: 40
Joined: Fri Feb 17, 2017 5:03 pm

Re: PDF Export Not Searchable

Post by camel_Trophy » Fri Jan 05, 2018 8:49 pm

Hello Thorsten,

I think I found the issue with the PDF, it has to do with the included fonts. The only font available in the faq/assets/template/default/fonts is "glyphicons" and "fontawesome-webfont", these are not typically available on Windows machines. Once I installed the package on my machine I am able to search the exported file. Am I missing some fonts in my installation?

I will check the thread for the footers.

Thank you.

Thorsten
Posts: 14539
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: PDF Export Not Searchable

Post by Thorsten » Sat Jan 06, 2018 9:20 am

Hi,

the fonts you referring to are the icons used in phpMyFAQ. The PDF fonts are in inc/libs/tcpdf/fonts

And yes, we need unicode fonts as we have to support 40+ languages.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests