跳至内容
菜单
此问题已终结
3 回复
11937 查看

In Odoo V8: is it possible to change font-family for a report?

If so,

Which font format should are supported?

How should it be installed?

How should it be applied to a report?

Thanks,

形象
丢弃
最佳答案

Hi extra fonts can be installed but I'm not sure which fonts are supported.

As for the intallation, refer to this post to get an idea. 

After the installation, go to Settings-Configuration-report fonts to choose the one you installed.

形象
丢弃
编写者

Installing manually fonts and then using Settings-Configuration-General Config works, BUT it changes the font for ALL REPORTS. I have three custom reports I want to fully customize and even use a couple of fonts per report.

最佳答案

I never do it before , but when i search your question i think it is possible, i will give you one link to installing procedures of font.this

 

形象
丢弃
编写者

That's for Odoo v7 and RML reports, not sure if that applies for QWeb and Odoo v8

最佳答案

Hello,

You can directly use the css block in your qweb report

for more information check this question,

Regards,

形象
丢弃
编写者

I have tried to replicate that in my report without success. I downloaded a .TTF and did a base64 encoding. Then I defined h1 to be blue, bigger and with that font. Blue and bigger are applied, but no custom font is loaded. I also check PDF properties and only the standard font is loaded.

相关帖文 回复 查看 活动
2
10月 22
28831
0
11月 22
6569
1
10月 15
5430
1
10月 23
12695
0
7月 20
3361