TOPIC:

Attached and exported PDF doesn't support Arabic Languages 1 year 6 months ago #241000

  • Topic Author
  • ahmeds2
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 49
  • Thanks: 0
Dear All,

Attached and exported PDF doesn't support Arabic Languages. So, what I have to do to make it support Arabic Language?

Note: An example is attached.

Best Regards,
Ahmed
Attachments:

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

Attached and exported PDF doesn't support Arabic Languages 1 year 6 months ago #241002

  • Topic Author
  • ahmeds2
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 49
  • Thanks: 0
Dear All,

I followed all the instructions in topic:
crosstec.org/en/forums/3-breezingforms-f...t-utf-8.html?start=6

But the problem still exist.

Please help me.

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

Attached and exported PDF doesn't support Arabic Languages 1 year 6 months ago #241010

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 7721
  • Karma: 3
  • Thanks: 549

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

Attached and exported PDF doesn't support Arabic Languages 1 year 6 months ago #241045

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
...follow up: I just realized that there is now a way to set the PDF RTL inline with css, but I will need to update it first.

Until then, please set it to RTL like this:

1) open the files "/components/com_breezingforms/facileforms.process.php" and "/administrator/components/com_breezingforms/admin/recordmanagement.class.php" and in each find this:

$pdf->setPrintHeader(false);

Add this before the line above.

$pdf->setRTL(true);

Save the files and see if it helps.

Regards,
Markus

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

Attached and exported PDF doesn't support Arabic Languages 1 year 6 months ago #241241

  • Topic Author
  • ahmeds2
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 49
  • Thanks: 0
Hi Tihana,

Thanks a lot. It helps in rtl, but the string appear as squares.

Now the problem is in font, how could I change it to TimeNewRoman (or another font)?

best Regards,
Ahmed

Best Regards,
Ahmed

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

Attached and exported PDF doesn't support Arabic Languages 1 year 6 months ago #241244

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

I usually use unifont as it covers most languages.
Please download it from here and rename it to unifont.ttf:

mirror.us-midwest-1.nexcess.net/gnu/unif.../unifont-13.0.02.ttf

Then copy the file into "/media/breezingforms/pdftpl/fonts/".
If the pdftpl or fonts folders don't exist, create them manually.

Then create an empty file and call it "unifont_active" and copy it into the fonts folder, as well (this will acticate the font). Also make sure this file doesn't have a hidden file extension like ".txt".

Here is an image of the filepath and files you need:



If everything worked well, you should have good unicode support within your PDF template.

Regards,
Markus
Attachments:

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

Last edit: Post by TheMuffinMan.
  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.086 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!