Hi,

How to use a local font? I put a library with ttf-files inte the
static/css directory and write this code in the css file:

@font-face {
   font-style: normal;
   font-weight: normal
    font-family: "myfont";
    src: url(ttf/DejaVuSans.ttf);
}

html, body {
font:myfont}

But it doesn't work. What is the corrcet way of doing this in web2py?

Thanks in advance

Reply via email to