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.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/23/13, 11:31 PM|
|Seen: 1467 times|
|Last updated: 3/16/15, 8:10 AM|