2ou3xPWy6uIayLLN:1446827663 wrote
1. Where do the font rules come from? Dokuwiki loads fonts from Google Fonts, but the rules can't be found in any of the CSS files.
No, it doesn't by default. Do they come from a template or plugin?
How fonts are implemented depends on that template or plugin and might be different per extension.
2ou3xPWy6uIayLLN:1446827663 wrote
2. How do I add my own fonts? I tried @font-face in some of the CSS files (the global ones and those from the template), but it breaks the font and defaults to Arial.
Fonts are generally added the same way as in other systems. If they are local, the only thing different will be the path to the font files...
2ou3xPWy6uIayLLN:1446827663 wrote
I suppose there's some PHP/JS going on in the background that takes care of fonts? If so, how do I get around that? I want to have all font files locally as the server isn't connected to the internet.
No, there shouldn't be any PHP/JS involved in loading the fonts, but again, depending on the plugin/template, some might involve JS or a bit more PHP.
You can try the
FontFace plugin for a more generic approach for adding fonts (without the need to add it manually to your template).