You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Bahaa Alamood <ba...@arcdigitalsolutionsandconsultancy.com> on 2017/01/13 12:25:12 UTC
PDF generation with non English charactors
Hello,
I have a running ofbiz 16 and everything seems to be fine, but when I
generate PDF of any thing with characters from a language other than
English I get ################ . I have looked at this post:
http://ofbiz.135035.n4.nabble.com/Multi-language-Support-in-PDF-Generation-Localization-in-fo-ftl-files-td4695361.html#a4701002
and
http://ofbiz.135035.n4.nabble.com/Cannot-print-generate-pdfs-with-INR-currency-td4668043.html#a4677150
there was mention of 2 solutions, but really I did not find anything
on how to use these solutions to solve this problem. The first one I can
see the fonts are installed with ofbiz by default but still producing
the ######### when the PDF is generated. The second solution I do know
know how I can use the PDFBOX lib in my installation.
Can any one help please?
--
Bahaaldin Al-amood
Tel: +964 (0) 780 926 2103
International 001 540 632 1388
email: bahaa@arcdsc.com
Skype ID: bahaa.alamood
Arc Digital Solutions and Consultancy
www.arcdsc.com
This message contains information that may be confidential
and privileged to Arc digital Solutions and Consultancy, its partners, or customers.
Unauthorized use is strictly prohibited. Unless you are the
addressee (or authorized to receive mail for the addressee),
you should not use, copy or disclose to anyone this message
or any information contained in this message. If you have
received this message in error, please so advise the sender
by reply e-mail and delete this message. Thank you for your
cooperation.
Re: PDF generation with non English charactors
Posted by Bahaa Alamood <ba...@arcdigitalsolutionsandconsultancy.com>.
Hi Jacques,
thanks,
I also create a new issue and here is the link to it
https://issues.apache.org/jira/browse/OFBIZ-9176
On 1/16/2017 9:04 AM, Jacques Le Roux wrote:
> This helps when it comes to first contribution
>
> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
>
>
> Jacques
>
>
> Le 16/01/2017 � 14:40, Taher Alkhateeb a �crit :
>> Hello Bahaa,
>>
>> I meant a JIRA issue, not a wiki, sorry for not being clear. You can
>> register and create a JIRA from here ->
>> https://issues.apache.org/jira/browse/OFBIZ
>>
>> On Mon, Jan 16, 2017 at 4:35 PM, Bahaa Alamood <
>> balamood@arcdigitalsolutionsandconsultancy.com> wrote:
>>
>>> Hello Taher,
>>>
>>> I just uploaded it to the JIRA (not sure if I put it in the right
>>> place :)
>>> ) but here is the link to the page
>>>
>>> https://cwiki.apache.org/confluence/x/rxUIB
>>>
>>>
>>>
>>> On 1/16/2017 7:06 AM, Taher Alkhateeb wrote:
>>>
>>>> Hello Bahaa,
>>>>
>>>> I think it would be best to create a JIRA so we can help you more. We
>>>> might
>>>> need screenshots, patches, etc ... I might be able to help you out
>>>> but we
>>>> need a place to collaborate.
>>>>
>>>> Cheers,
>>>>
>>>> Taher Alkhateeb
>>>>
>>>> On Mon, Jan 16, 2017 at 2:48 PM, Bahaa Alamood <
>>>> balamood@arcdigitalsolutionsandconsultancy.com> wrote:
>>>>
>>>> Hello Paul,
>>>>> I tried the Dejavu fonts but when you have a mixed English ans
>>>>> Arabic
>>>>> the
>>>>> Arabic words a disjointed and treated them link English print and
>>>>> this is
>>>>> not the way Arabic works because Arabic is written like a script
>>>>> and the
>>>>> letters join in a word. I will keep looking for a suitable font and
>>>>> report
>>>>> back to the list. Thanks again.
>>>>>
>>>>>
>>>>>
>>>>> On 1/13/2017 9:43 PM, Paul Foxworthy wrote:
>>>>>
>>>>> Hi Bahaa and Jacques,
>>>>>> DejaVu (https://dejavu-fonts.github.io/) is a free and open
>>>>>> source font
>>>>>> family with a wide range of Unicode characters, including Arabic.
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> Paul Foxworthy
>>>>>>
>>>>>>
>>>>>> On 14 January 2017 at 06:07, Jacques Le Roux <
>>>>>> jacques.le.roux@les7arts.com>
>>>>>> wrote:
>>>>>>
>>>>>> Hi Bahaa,
>>>>>>
>>>>>>> Sorry the ASF MLs does not allow attachments. I suggest you
>>>>>>> create a
>>>>>>> Jira
>>>>>>> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
>>>>>>> Contributors+Best+Practices
>>>>>>>
>>>>>>> Maybe Arabic characters are not in NotoSans I uploaded, please
>>>>>>> check
>>>>>>> https://www.google.com/get/noto/
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Le 13/01/2017 � 15:09, Bahaa Alamood a �crit :
>>>>>>>
>>>>>>> Hi Jacques,
>>>>>>>
>>>>>>>> thanks for the reply, I tried on the VM you have mentioned
>>>>>>>> below with
>>>>>>>> some arabic characters and the result was as attached. Any help
>>>>>>>> would
>>>>>>>> be
>>>>>>>> greatly appreciated. I have to mention I am new to Ofbiz and
>>>>>>>> forgive
>>>>>>>> me if
>>>>>>>> I do not get some of the abbreviations of the project.
>>>>>>>>
>>>>>>>>
>>>>>>>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>>>>>>>
>>>>>>>> "FOP fonts in a PDF" menu
>>>>>>>>
>>>>>>>>>
>
Re: PDF generation with non English charactors
Posted by Jacques Le Roux <ja...@les7arts.com>.
This helps when it comes to first contribution
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
Jacques
Le 16/01/2017 � 14:40, Taher Alkhateeb a �crit :
> Hello Bahaa,
>
> I meant a JIRA issue, not a wiki, sorry for not being clear. You can
> register and create a JIRA from here ->
> https://issues.apache.org/jira/browse/OFBIZ
>
> On Mon, Jan 16, 2017 at 4:35 PM, Bahaa Alamood <
> balamood@arcdigitalsolutionsandconsultancy.com> wrote:
>
>> Hello Taher,
>>
>> I just uploaded it to the JIRA (not sure if I put it in the right place :)
>> ) but here is the link to the page
>>
>> https://cwiki.apache.org/confluence/x/rxUIB
>>
>>
>>
>> On 1/16/2017 7:06 AM, Taher Alkhateeb wrote:
>>
>>> Hello Bahaa,
>>>
>>> I think it would be best to create a JIRA so we can help you more. We
>>> might
>>> need screenshots, patches, etc ... I might be able to help you out but we
>>> need a place to collaborate.
>>>
>>> Cheers,
>>>
>>> Taher Alkhateeb
>>>
>>> On Mon, Jan 16, 2017 at 2:48 PM, Bahaa Alamood <
>>> balamood@arcdigitalsolutionsandconsultancy.com> wrote:
>>>
>>> Hello Paul,
>>>> I tried the Dejavu fonts but when you have a mixed English ans Arabic
>>>> the
>>>> Arabic words a disjointed and treated them link English print and this is
>>>> not the way Arabic works because Arabic is written like a script and the
>>>> letters join in a word. I will keep looking for a suitable font and
>>>> report
>>>> back to the list. Thanks again.
>>>>
>>>>
>>>>
>>>> On 1/13/2017 9:43 PM, Paul Foxworthy wrote:
>>>>
>>>> Hi Bahaa and Jacques,
>>>>> DejaVu (https://dejavu-fonts.github.io/) is a free and open source font
>>>>> family with a wide range of Unicode characters, including Arabic.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Paul Foxworthy
>>>>>
>>>>>
>>>>> On 14 January 2017 at 06:07, Jacques Le Roux <
>>>>> jacques.le.roux@les7arts.com>
>>>>> wrote:
>>>>>
>>>>> Hi Bahaa,
>>>>>
>>>>>> Sorry the ASF MLs does not allow attachments. I suggest you create a
>>>>>> Jira
>>>>>> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
>>>>>> Contributors+Best+Practices
>>>>>>
>>>>>> Maybe Arabic characters are not in NotoSans I uploaded, please check
>>>>>> https://www.google.com/get/noto/
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>>
>>>>>>
>>>>>> Le 13/01/2017 � 15:09, Bahaa Alamood a �crit :
>>>>>>
>>>>>> Hi Jacques,
>>>>>>
>>>>>>> thanks for the reply, I tried on the VM you have mentioned below with
>>>>>>> some arabic characters and the result was as attached. Any help would
>>>>>>> be
>>>>>>> greatly appreciated. I have to mention I am new to Ofbiz and forgive
>>>>>>> me if
>>>>>>> I do not get some of the abbreviations of the project.
>>>>>>>
>>>>>>>
>>>>>>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>>>>>>
>>>>>>> "FOP fonts in a PDF" menu
>>>>>>>
>>>>>>>>
Re: PDF generation with non English charactors
Posted by Taher Alkhateeb <sl...@gmail.com>.
Hello Bahaa,
I meant a JIRA issue, not a wiki, sorry for not being clear. You can
register and create a JIRA from here ->
https://issues.apache.org/jira/browse/OFBIZ
On Mon, Jan 16, 2017 at 4:35 PM, Bahaa Alamood <
balamood@arcdigitalsolutionsandconsultancy.com> wrote:
> Hello Taher,
>
> I just uploaded it to the JIRA (not sure if I put it in the right place :)
> ) but here is the link to the page
>
> https://cwiki.apache.org/confluence/x/rxUIB
>
>
>
> On 1/16/2017 7:06 AM, Taher Alkhateeb wrote:
>
>> Hello Bahaa,
>>
>> I think it would be best to create a JIRA so we can help you more. We
>> might
>> need screenshots, patches, etc ... I might be able to help you out but we
>> need a place to collaborate.
>>
>> Cheers,
>>
>> Taher Alkhateeb
>>
>> On Mon, Jan 16, 2017 at 2:48 PM, Bahaa Alamood <
>> balamood@arcdigitalsolutionsandconsultancy.com> wrote:
>>
>> Hello Paul,
>>>
>>> I tried the Dejavu fonts but when you have a mixed English ans Arabic
>>> the
>>> Arabic words a disjointed and treated them link English print and this is
>>> not the way Arabic works because Arabic is written like a script and the
>>> letters join in a word. I will keep looking for a suitable font and
>>> report
>>> back to the list. Thanks again.
>>>
>>>
>>>
>>> On 1/13/2017 9:43 PM, Paul Foxworthy wrote:
>>>
>>> Hi Bahaa and Jacques,
>>>>
>>>> DejaVu (https://dejavu-fonts.github.io/) is a free and open source font
>>>> family with a wide range of Unicode characters, including Arabic.
>>>>
>>>> Cheers
>>>>
>>>> Paul Foxworthy
>>>>
>>>>
>>>> On 14 January 2017 at 06:07, Jacques Le Roux <
>>>> jacques.le.roux@les7arts.com>
>>>> wrote:
>>>>
>>>> Hi Bahaa,
>>>>
>>>>> Sorry the ASF MLs does not allow attachments. I suggest you create a
>>>>> Jira
>>>>> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
>>>>> Contributors+Best+Practices
>>>>>
>>>>> Maybe Arabic characters are not in NotoSans I uploaded, please check
>>>>> https://www.google.com/get/noto/
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>>
>>>>> Le 13/01/2017 à 15:09, Bahaa Alamood a écrit :
>>>>>
>>>>> Hi Jacques,
>>>>>
>>>>>> thanks for the reply, I tried on the VM you have mentioned below with
>>>>>> some arabic characters and the result was as attached. Any help would
>>>>>> be
>>>>>> greatly appreciated. I have to mention I am new to Ofbiz and forgive
>>>>>> me if
>>>>>> I do not get some of the abbreviations of the project.
>>>>>>
>>>>>>
>>>>>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>>>>>
>>>>>> "FOP fonts in a PDF" menu
>>>>>>
>>>>>>>
>>>>>>>
>
Re: PDF generation with non English charactors
Posted by Bahaa Alamood <ba...@arcdigitalsolutionsandconsultancy.com>.
Hello Taher,
I just uploaded it to the JIRA (not sure if I put it in the right place
:) ) but here is the link to the page
https://cwiki.apache.org/confluence/x/rxUIB
On 1/16/2017 7:06 AM, Taher Alkhateeb wrote:
> Hello Bahaa,
>
> I think it would be best to create a JIRA so we can help you more. We might
> need screenshots, patches, etc ... I might be able to help you out but we
> need a place to collaborate.
>
> Cheers,
>
> Taher Alkhateeb
>
> On Mon, Jan 16, 2017 at 2:48 PM, Bahaa Alamood <
> balamood@arcdigitalsolutionsandconsultancy.com> wrote:
>
>> Hello Paul,
>>
>> I tried the Dejavu fonts but when you have a mixed English ans Arabic the
>> Arabic words a disjointed and treated them link English print and this is
>> not the way Arabic works because Arabic is written like a script and the
>> letters join in a word. I will keep looking for a suitable font and report
>> back to the list. Thanks again.
>>
>>
>>
>> On 1/13/2017 9:43 PM, Paul Foxworthy wrote:
>>
>>> Hi Bahaa and Jacques,
>>>
>>> DejaVu (https://dejavu-fonts.github.io/) is a free and open source font
>>> family with a wide range of Unicode characters, including Arabic.
>>>
>>> Cheers
>>>
>>> Paul Foxworthy
>>>
>>>
>>> On 14 January 2017 at 06:07, Jacques Le Roux <
>>> jacques.le.roux@les7arts.com>
>>> wrote:
>>>
>>> Hi Bahaa,
>>>> Sorry the ASF MLs does not allow attachments. I suggest you create a Jira
>>>> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
>>>> Contributors+Best+Practices
>>>>
>>>> Maybe Arabic characters are not in NotoSans I uploaded, please check
>>>> https://www.google.com/get/noto/
>>>>
>>>> Thanks
>>>>
>>>> Jacques
>>>>
>>>>
>>>>
>>>> Le 13/01/2017 � 15:09, Bahaa Alamood a �crit :
>>>>
>>>> Hi Jacques,
>>>>> thanks for the reply, I tried on the VM you have mentioned below with
>>>>> some arabic characters and the result was as attached. Any help would be
>>>>> greatly appreciated. I have to mention I am new to Ofbiz and forgive
>>>>> me if
>>>>> I do not get some of the abbreviations of the project.
>>>>>
>>>>>
>>>>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>>>>
>>>>> "FOP fonts in a PDF" menu
>>>>>>
Re: PDF generation with non English charactors
Posted by Taher Alkhateeb <sl...@gmail.com>.
Hello Bahaa,
I think it would be best to create a JIRA so we can help you more. We might
need screenshots, patches, etc ... I might be able to help you out but we
need a place to collaborate.
Cheers,
Taher Alkhateeb
On Mon, Jan 16, 2017 at 2:48 PM, Bahaa Alamood <
balamood@arcdigitalsolutionsandconsultancy.com> wrote:
> Hello Paul,
>
> I tried the Dejavu fonts but when you have a mixed English ans Arabic the
> Arabic words a disjointed and treated them link English print and this is
> not the way Arabic works because Arabic is written like a script and the
> letters join in a word. I will keep looking for a suitable font and report
> back to the list. Thanks again.
>
>
>
> On 1/13/2017 9:43 PM, Paul Foxworthy wrote:
>
>> Hi Bahaa and Jacques,
>>
>> DejaVu (https://dejavu-fonts.github.io/) is a free and open source font
>> family with a wide range of Unicode characters, including Arabic.
>>
>> Cheers
>>
>> Paul Foxworthy
>>
>>
>> On 14 January 2017 at 06:07, Jacques Le Roux <
>> jacques.le.roux@les7arts.com>
>> wrote:
>>
>> Hi Bahaa,
>>>
>>> Sorry the ASF MLs does not allow attachments. I suggest you create a Jira
>>> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
>>> Contributors+Best+Practices
>>>
>>> Maybe Arabic characters are not in NotoSans I uploaded, please check
>>> https://www.google.com/get/noto/
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>>
>>>
>>> Le 13/01/2017 à 15:09, Bahaa Alamood a écrit :
>>>
>>> Hi Jacques,
>>>>
>>>> thanks for the reply, I tried on the VM you have mentioned below with
>>>> some arabic characters and the result was as attached. Any help would be
>>>> greatly appreciated. I have to mention I am new to Ofbiz and forgive
>>>> me if
>>>> I do not get some of the abbreviations of the project.
>>>>
>>>>
>>>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>>>
>>>> "FOP fonts in a PDF" menu
>>>>>
>>>>>
>>>>
>>
>
Re: PDF generation with non English charactors
Posted by Bahaa Alamood <ba...@arcdigitalsolutionsandconsultancy.com>.
Hello Paul,
I tried the Dejavu fonts but when you have a mixed English ans Arabic
the Arabic words a disjointed and treated them link English print and
this is not the way Arabic works because Arabic is written like a script
and the letters join in a word. I will keep looking for a suitable font
and report back to the list. Thanks again.
On 1/13/2017 9:43 PM, Paul Foxworthy wrote:
> Hi Bahaa and Jacques,
>
> DejaVu (https://dejavu-fonts.github.io/) is a free and open source font
> family with a wide range of Unicode characters, including Arabic.
>
> Cheers
>
> Paul Foxworthy
>
>
> On 14 January 2017 at 06:07, Jacques Le Roux <ja...@les7arts.com>
> wrote:
>
>> Hi Bahaa,
>>
>> Sorry the ASF MLs does not allow attachments. I suggest you create a Jira
>> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
>> Contributors+Best+Practices
>>
>> Maybe Arabic characters are not in NotoSans I uploaded, please check
>> https://www.google.com/get/noto/
>>
>> Thanks
>>
>> Jacques
>>
>>
>>
>> Le 13/01/2017 � 15:09, Bahaa Alamood a �crit :
>>
>>> Hi Jacques,
>>>
>>> thanks for the reply, I tried on the VM you have mentioned below with
>>> some arabic characters and the result was as attached. Any help would be
>>> greatly appreciated. I have to mention I am new to Ofbiz and forgive me if
>>> I do not get some of the abbreviations of the project.
>>>
>>>
>>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>>
>>>> "FOP fonts in a PDF" menu
>>>>
>>>
>
Re: PDF generation with non English charactors
Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
Hi Bahaa and Jacques,
DejaVu (https://dejavu-fonts.github.io/) is a free and open source font
family with a wide range of Unicode characters, including Arabic.
Cheers
Paul Foxworthy
On 14 January 2017 at 06:07, Jacques Le Roux <ja...@les7arts.com>
wrote:
> Hi Bahaa,
>
> Sorry the ASF MLs does not allow attachments. I suggest you create a Jira
> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+
> Contributors+Best+Practices
>
> Maybe Arabic characters are not in NotoSans I uploaded, please check
> https://www.google.com/get/noto/
>
> Thanks
>
> Jacques
>
>
>
> Le 13/01/2017 à 15:09, Bahaa Alamood a écrit :
>
>> Hi Jacques,
>>
>> thanks for the reply, I tried on the VM you have mentioned below with
>> some arabic characters and the result was as attached. Any help would be
>> greatly appreciated. I have to mention I am new to Ofbiz and forgive me if
>> I do not get some of the abbreviations of the project.
>>
>>
>> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>>
>>> "FOP fonts in a PDF" menu
>>>
>>
>>
>
--
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia
Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: info@coherentsoftware.com.au
Re: PDF generation with non English charactors
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Bahaa,
Sorry the ASF MLs does not allow attachments. I suggest you create a Jira
https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices
Maybe Arabic characters are not in NotoSans I uploaded, please check https://www.google.com/get/noto/
Thanks
Jacques
Le 13/01/2017 � 15:09, Bahaa Alamood a �crit :
> Hi Jacques,
>
> thanks for the reply, I tried on the VM you have mentioned below with some arabic characters and the result was as attached. Any help would be
> greatly appreciated. I have to mention I am new to Ofbiz and forgive me if I do not get some of the abbreviations of the project.
>
>
> On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
>> "FOP fonts in a PDF" menu
>
Re: PDF generation with non English charactors
Posted by Bahaa Alamood <ba...@arcdigitalsolutionsandconsultancy.com>.
Hi Jacques,
thanks for the reply, I tried on the VM you have mentioned below with
some arabic characters and the result was as attached. Any help would be
greatly appreciated. I have to mention I am new to Ofbiz and forgive me
if I do not get some of the abbreviations of the project.
On 1/13/2017 8:09 AM, Jacques Le Roux wrote:
> "FOP fonts in a PDF" menu
Re: PDF generation with non English charactors
Posted by Jacques Le Roux <ja...@les7arts.com>.
It works at https://ofbiz-vm2.apache.org:18443/example/control/main use the "FOP fonts in a PDF" menu, then in the PDF looks for NotoSans
Jacques
Le 13/01/2017 � 13:25, Bahaa Alamood a �crit :
> Hello,
>
> I have a running ofbiz 16 and everything seems to be fine, but when I generate PDF of any thing with characters from a language other than English I
> get ################ . I have looked at this post:
>
> http://ofbiz.135035.n4.nabble.com/Multi-language-Support-in-PDF-Generation-Localization-in-fo-ftl-files-td4695361.html#a4701002
> and http://ofbiz.135035.n4.nabble.com/Cannot-print-generate-pdfs-with-INR-currency-td4668043.html#a4677150
>
> there was mention of 2 solutions, but really I did not find anything on how to use these solutions to solve this problem. The first one I can see
> the fonts are installed with ofbiz by default but still producing the ######### when the PDF is generated. The second solution I do know know how I
> can use the PDFBOX lib in my installation.
>
> Can any one help please?
>