I think you have to install the font on the system, and I also think it has to be a ttf or woff file. What file is it you have? If you have an other file type, you can probably convert the file with some on-line tool.
In ubuntu you can just double click ttf-files to install them. Then it will be available in css without specifying a directory.