Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I try to change the font in the header/footer with a custom one. so i copied my linotype.ttf font to: /usr/share/fonts/truetype/linotype/linotype.ttf
then i run "fc-cache -fv" and "fc-cache -f -v"
After that i edited the /opt/openerp/server/openerp/report/render/rml2pdf/customfonts.py and added ('linotype','linotype','linotype.ttf','all') at the CustomTTFonts list.
Nothing... still same old font.
Then i tried an other font listed in /opt/openerp/server/openerp/report/render/rml2pdf/customfonts.py. didn't work either... wierd.
code looks terrible here.... RML Header in comment.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/23/13, 11:31 PM|
|Seen: 1703 times|
|Last updated: 3/16/15, 8:10 AM|