|
PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
|
|
02-18-2012, 06:47 PM
Post: #1
|
|||
|
|||
|
PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
Hi everyone:
I have installed webERP successfully. However, I find printing PDF invoices and packing lists in Arabic / Persian font problematic as Persian writings such as address and names appear blank in the PDF file produced. Please note I have setup the user user language as Persian and set the pdf printing to Asian languages Thai/ Arabic etc. I am not sure what else I should be doing. I look forward to your guidance. regards, Kourosh |
|||
|
06-20-2012, 01:50 PM
Post: #2
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
Hi Kourosh,
I have same problem. Have you found any solution? If you know any solution, please post it. It is great help. Thanks Sam (02-18-2012 06:47 PM)Kourosh Wrote: Hi everyone: |
|||
|
07-06-2012, 03:55 PM
Post: #3
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
Hi Everybody,
Anybody have any idea please post it. Thanks SAMU |
|||
|
07-06-2012, 04:01 PM
Post: #4
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
you must use a localised version of adobe acrobat reader with persian fonts installed.
Phil Daintree webERP Admin Logic Works Ltd http://www.logicworks.co.nz |
|||
|
12-06-2012, 09:05 AM
(This post was last modified: 12-06-2012 09:08 AM by passat.)
Post: #5
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
Try use GNU FreeFont ( freeserif, freesans, freemono ) or "DejaVu fonts" instead "times" font and set the pdf printing to Latin Western Languages ( for this option you will change default font).
http://www.gnu.org/software/freefont/ranges/ http://dejavu-fonts.org/wiki/Main_Page Download last tcpdf: http://www.tcpdf.org/ It contains these fonts. Unzip it into webERP/includes/tcpd/ folder. Edit file: webERP/includes/class.pdf.php Find out these lines: case 0: $UserPdfFont = 'times'; break; case 1: $UserPdfFont = 'javierjp'; break; case 2: $UserPdfFont = 'javiergb'; break; and change $UserPdfFont = 'times'; to $UserPdfFont = 'freeserif'; or to other fonts from webERP/includes/tcpdf/fonts/ folder. I used freeserif: English, Arabic and Cyrillic in the same pdf are without problem. |
|||
|
12-06-2012, 09:14 AM
Post: #6
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
Would be interested to know the file size of a typical invoice made with these fonts please?
Thanks Phil Daintree webERP Admin Logic Works Ltd http://www.logicworks.co.nz |
|||
|
12-07-2012, 12:33 AM
Post: #7
|
|||
|
|||
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
(12-06-2012 09:14 AM)phil Wrote: Would be interested to know the file size of a typical invoice made with these fonts please? Look: weberp_PurchaseOrder_4_2012-12-06.pdf (Size: 56.23 KB / Downloads: 8)
|
|||
|
12-08-2012, 08:06 PM
(This post was last modified: 12-08-2012 08:08 PM by phil.)
Post: #8
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
Well this is pretty cool!!
I am afraid my understanding of this area is a bit weak and it is quite complicated for a simple guy... do you think we should modify this and bundle this font ? Does it work on windows as well?? Which files can go in the current distribution? Looks like it works for Greek/Russian/Arabic ... any others? Phil Daintree webERP Admin Logic Works Ltd http://www.logicworks.co.nz |
|||
|
12-24-2012, 04:58 PM
Post: #9
|
|||
|
|||
|
RE: PDF printing Invoice / Packing list in Other Language (Persian / Arabic)
On playing with this - a typical small invoice using freeserif font is about 57kb where the same invoice using times font is just 12kb - it is probably no big deal with increasing internet speed but I am little unsure how to go ... maybe we should bundle the font and make it another option? Anyone any points?
Phil Daintree webERP Admin Logic Works Ltd http://www.logicworks.co.nz |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




