This question has been flagged
2 Replies
13831 Views

Hi i am newbee in openerp 7 windows allinone version. My problem is if write anything with special Turkish characters it can be shown in forms view or edits as in real encoding. but if you want to print it any invoice or any purchase order etc. Pdf output showing special Turkish characters as blackboxes. So i am suspicous about encoding settings of pdf main egine. How can i fix codec?

Host pc operating system is windows xp pro Turkish so all required fonts are in windows library.

Avatar
Discard

Merhabalar Bora Bey, PDFlerdeki türkçe karakter sorununu font yükleyerek çözebilirsiniz. bunun için size DejavuSans isimli fontlardan yüklemenizi tavsiye ederiz. Burdan indirip yükleyebilirsiniz: http://www.fontsquirrel.com/fonts/DejaVu-Sans Mehmet Demirel UNIBRAVO YAZILIM

Author

indirdim windows a kurdum ancak bir de OPENERP ye tanitmak gerekiyormus sanirim o nasil yapilacak?

Bora bey iyi geceler. Acaba encode sorununu çözebildiniz mi?

Bora bey iyi geceler. Acaba encode sorununu çözebildiniz mi?

Best Answer

This problem happens when your character is not supported by fonts used in standard OpenERP.

We use this module by shine-it for printing Japanese in PDF (you update the mapping from standard OE fonts to the fonts you would like to use):

https://github.com/shine-it/oecn_base_fonts

I believe this one by Elico Corp also does the job but we haven't tried it yet:

http://v6apps.openerp.com/addon/9154?filter=%7B%22category%22%3A+10%2C+%22order_by%22%3A+%22downloads_sum+desc%22%7D&page=0

We have raised this to OpenERP s.a. and I believe they are trying to incorporate one of these as a certified module.

Avatar
Discard
Author

Ok i installed fonts but how can setup openerp to use that fonts.

What exactly have you done? Please provide more info.

Author

i download the fonts from http://www.fontsquirrel.com/fonts/DejaVu-Sans then open zip file then put inside the fonts folder of windows. thats all

Hello Yoshi, I'm trying to have the PDF print Japanese too. I'm using OpenERP 7 on a Virtual BitNami stack Ubuntu 12.04. I have tried following the instructions on the github link you provided above, but the option "2) Click the link on the line of 'Configure fonts mapping for pdf report' (Settings/ Configuration/ General Settings/)" Is not displayed on my install, do I need to turn on a special setting such as I did to display the Technical menu?

Author Best Answer

Ok i installed fonts but how can setup openerp to use that fonts.

Avatar
Discard