I want to use Roboto Thin Google Webfont (weight 100) in a slightly tweaked version of the hyde-hyde theme. Google lists Roboto Thin and Thin Italic as included in the Roboto family, but the thinnest rendered appears to be weight 300 even though the CSS calls for 100.
Is it possible to include Roboto TTF font files in the Hugo directory structure? If so, where should they be put and what would be the URL to access them? Would just the URL for the Roboto normal file adequate for accessing all the other weights?
From my reading of the documentation, I believe the files should be located in /static/fonts – but can they all be located in a subdirectory (e.g. Roboto)?
As an aside, I would really like to see a section of the documentation devoted to font files and Webfonts.
Most modern browsers support woff2 so you can generally ship less files with your code if you fall forward to the newer format, though I’m not sure if the woff2 version comes packed with the font variants when downloaded from Google.
Thanks, @Joerg, that’s very helpful. As I preferred to use fonts from my own server, I downloaded the full Roboto Webfont kit from FontSquirrel, created a separate fonts.css file in /fonts and added @import url("fonts.css"); at the top of '/fonts/custom.css` to load the font definitions first.