PDF Export support UTF-8?

  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Re: PDF Export support UTF-8?

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

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#64442
  • Posts: 124
  • Thank you received: 10

drmenzelit replied the topic: Re: PDF Export support UTF-8?

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
#64455
  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Re: PDF Export support UTF-8?

Hi,

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

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#64456
  • Posts: 124
  • Thank you received: 10
  • Posts: 30
  • Thank you received: 0

skocko1 replied the topic: Re: PDF Export support UTF-8?

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
#68895
  • Posts: 8405
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Re: PDF Export support UTF-8?

Hi,

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

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#68962
Moderators: ForumSupport
Time to create page: 0.055 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!