OiO.lk Blog pdf Custom font slice when PDF export
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



You need to sign in to view this answers

Exit mobile version