Sales Question?
Welcome, Guest

Problem with slovak chars ?š???? in export to pdf
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problem with slovak chars ?š???? in export to pdf

Problem with slovak chars ?š???? in export to pdf 10 months, 2 weeks ago #77157

Hi,
I use BreezingForms 1.7.3 Stable. I tried export my form to pdf but I get lot of ? char instead ?š???? chars. Interesting is that this problem I had only in pdf export. Reason probably is that font which is used in exports don't support chars which I need but I don't know how to change font in export.
Thank you very much
Attachments:
  • jozol
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Last Edit: 10 months, 2 weeks ago by jozol.

Re: Problem with slovak chars ?š???? in export to pdf 10 months, 2 weeks ago #77191

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 download from www.crosstec.de/media/kunena/attachments/legacy/files/fonts.zip
  • djhargrove
  • OFFLINE
  • Platinum Boarder
  • Official Support
  • Posts: 3490
  • Karma: -1


DJ Hargrove
Level II Support
Official Breezing Forms Support
Skype: crosstecsupport 11am-5pm EST
This email address is being protected from spambots. You need JavaScript enabled to view it.
===============================================
Satisfied?Consider a membership!
===============================================
Like us on Facebook
===============================================
Follow us on Twitter
===============================================
  • Page:
  • 1
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.33 seconds

Flatrate Membership: Professional Subscription

Get lifetime access to all of our products and 1 year of professional support -- for just $199 USD. No limits on domains!. Includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

Get it from here

Recurring Customer Discount - 50% Off!

Get a 50% discount on our Professional Subscription if you have been purchasing a subscription from us in the past -- no matter when. The Professional Subscription includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

How to receive the discount:

  • Purchase a basic 1-Year Subscription from here.
  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and proof of your old purchase.
  • We will then upgrade your account to the Professional Subscription.

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 1-Year Basic or Professional Subscription plans.

How to receive the discount:

  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with a proof of purchase (for example a paypal receipt).
  • Await payment instructions and enjoy your membership!

About

Crosstec GmbH & Co. KG

Hohenzollernring 57

50672 Cologne, Germany

Imprint