October 22, 2024
Chicago 12, Melborne City, USA
pdf

Custom font slice when PDF export


I’m using a custom font for my PDF report on Odoo 17. However, I noticed that the letters "C" and "O" are messed up.

Here is my CSS :

    font-family: 'TT Norms Pro';
    src: url('/my_module/static/src/fonts/my_font.woff2') format('woff2'),
        url('/my_module/static/src/fonts/my_font.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

Would you know where is the problem ?

Thanks

enter image description here



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video