Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
11908 Visualizzazioni

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,

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Autore

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.

Risposta migliore

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

 

Avatar
Abbandona
Autore

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

Risposta migliore

Hello,

You can directly use the css block in your qweb report

for more information check this question,

Regards,

Avatar
Abbandona
Autore

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.

Post correlati Risposte Visualizzazioni Attività
2
ott 22
28815
0
nov 22
6544
1
ott 15
5419
1
ott 23
12660
0
lug 20
3338