TOPIC:

Re: PDF Export support UTF-8? 9 years 7 months ago #64442

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Hi,

the problem is the underlying PDF api. But this issue can be solved by using a different font file with a little hack. Unfortunately I cannot ship these files with BF, because it would lead to problems on installing due to the filesize :(

I am thinking to somehow make it easier for people in the future to change the fontfiles.

However, you basically need to unzip the file attached and copy the 3 files inside into /administrator/components/com_breezingforms/libraries/tcpdf/fonts/

Then open the file /components/com_breezingforms/facileforms.process.php and find the line that says

$pdf = new TCPDF();

Best search for "TCPDF".

Then, right after this line, add a new line:

$pdf->SetFont('dejavusans');

This would be for the attachments.

Now for the exports in manage records, do the same in the file /administrator/components/com_breezingforms/admin/recordmanagement.class.php

If everything works like on my develop machine, you should have regular output.

Please get back to me if it is working for you!

Please get the font file from the zip that is attached to this posting.

EDIT: zip is too big, please download from crosstec.org/media/kunena/attachments/legacy/files/fonts.zip

Regards,
Markus

Please Log in or Create an account to join the conversation.

Last edit: Post by TheMuffinMan.

Re: PDF Export support UTF-8? 9 years 7 months ago #64455

  • drmenzelit
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 131
  • Thanks: 10
Thank you Markus! it works!! :cheer:

By the way, could you please also answer my other open topics :blush:

Thank you again

Viviana
Dr. Viviana Menzel
Dr. Menzel IT-Beratung
www.dr-menzel-it.de

Please Log in or Create an account to join the conversation.

Re: PDF Export support UTF-8? 9 years 7 months ago #64456

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Hi,

is there a special one you are referring to?? The ticket system is almost cleared as of today.

Regards,
Markus

Please Log in or Create an account to join the conversation.

Re: PDF Export support UTF-8? 9 years 7 months ago #64460

Re: PDF Export support UTF-8? 9 years 5 months ago #68895

  • skocko1's Avatar
  • skocko1
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 30
  • Thanks: 0
Hi Markus, the 2 files dejavusans.z and dejavusans.z and dejavusans.ctg.z are corrupted or there is somethinf wrong with them, I can not unzip them. The result (due to this) I gues is, that I have only uploded one file named dejavusans.php.

Thanks.
Jan

Please Log in or Create an account to join the conversation.

Last edit: Post by skocko1.

Re: PDF Export support UTF-8? 9 years 5 months ago #68962

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Hi,

can you try a different unzipper or post the files here and I'll try to unzip them.

Regards,
Markus

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.050 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!