css - OpenERP font-family: 'Free 3 of 9' for barcode is not working in report webkit -
i have problem webkit report .mako
file. when use:
<html> <head> <style type="text/css">${css}</style> </head> <body> % o in objects: <p style="font-family:'free 3 of 9';">${o.name}</p> % endfor </body> </html>
in .mako
file working if use
<html> <head> <style type="text/css">${css}</style> </head> <body> % o in objects: <p class="barcode39">${o.name}</p> % endfor </body> </html>
and class declared in field "css" of data.xml
in report_webkit
.barcode39 { font-family: 'free 3 of 9'; font-size: 36; color: red; }
font-family: 'free 3 of 9'
not work. if use font-family
working. problem?
i have placed font in /usr/share/fonts/truetype
, run fc-cache -fv
. in advance.
Comments
Post a Comment