Change site font and pxport PDF

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Change site font and pxport PDF

Post by amitm » Sat May 17, 2014 4:42 pm

Hi,
whats up?

1. i need to change the font of all the site, please advice how to do it?
2. pdf export isnt working with heb.

BR
Amit

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

Re: Change site font and pxport PDF

Post by Thorsten » Sat May 17, 2014 6:50 pm

Hi,

the font can be changed in asset/template/default/css/style.min.css.

What about the PDF?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Re: Change site font and pxport PDF

Post by amitm » Sat May 17, 2014 7:34 pm

hi and thanks for your reply.

when i am trying to export to pdf i am getting Q marks.
http://www.historyfaq.info

http://www.historyfaq.info/index.php?si ... artlang=he

BR
Amit

amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Re: Change site font and pxport PDF

Post by amitm » Sat May 17, 2014 7:39 pm

one more thing, how can i set the default lang other then english. i deleted all lang files (not local and english) and i want that the default will be my local lang.

BR
Amit

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

Re: Change site font and pxport PDF

Post by Thorsten » Sun May 18, 2014 7:51 am

Hi,

this should fix the PDF issue: https://github.com/thorsten/phpMyFAQ/co ... 0adb4b5738

To change the default language, please set it in main configuration in the admin backend. The fallback is always English.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Re: Change site font and pxport PDF

Post by amitm » Sun May 18, 2014 12:19 pm

Hi,
i did it, its not working good. how can i disable the pdf?

BR
Amit

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

Re: Change site font and pxport PDF

Post by Thorsten » Sun May 18, 2014 12:30 pm

Hi,

I checked it and it worked for me, see screenshot of the generated PDF:
Bildschirmfoto 2014-05-18 um 13.30.07.png
bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Re: Change site font and pxport PDF

Post by amitm » Sun May 18, 2014 12:58 pm

hi,
yes it is working but the space between words and letter is not good, and its a little mess and i dont want that you will work so hard for that, pepole can print it, in print its great, BTW the PDF should look like the print page.

BR and thanks a lot
AMit

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

Re: Change site font and pxport PDF

Post by Thorsten » Sun May 18, 2014 1:41 pm

Hi,

okay, I have to check the possibilities of TCPDF with Hebrew language. Maybe a different font looks better.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

amitm
Posts: 27
Joined: Sat Feb 15, 2014 8:51 am

Re: Change site font and pxport PDF

Post by amitm » Sun May 18, 2014 6:16 pm

hi,
the font that i am using is: "Alef"
its a free font the other free is arial but i dont use it at the site. in heb most of the fonts cost money.
here is the link to alef, its a free and very good font:
http://alef.hagilda.com/

BR
Amit

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

Re: Change site font and pxport PDF

Post by Thorsten » Mon May 19, 2014 8:12 pm

Hi,

I'll check that for 2.9, such a big change in 2.8 is not possible as I have to check more than 40 languages...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply