KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a problem with WebKit report .mako file. when I use: <html> <head> <style type="text/css">${css}</style> </head> <body> % for o in objects: <p style="font-family:'Free 3 of 9';">${o.name}</p> % endfor </body> </html> in .mako file it is working but if I use <html> <head> <style type="text/css">${css}</style> </head> <body> % for o in objects: <p class="barcode39">${o.name}</p> % endfor </body> </html> and this class is 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' does not work. If I use another font-family it is working. What could be the problem? I have placed font in /usr/share/fonts/truetype and also run fc-cache -fv . Thanks in advance.
Tags (comma-separated)
Save Edits
Cancel