Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
11958 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 22
28858
0
พ.ย. 22
6595
1
ต.ค. 15
5450
1
ต.ค. 23
12770
0
ก.ค. 20
3384