TIL: #
Hubzilla will use any font for display, if you
• host them in /view/fonts (not outside /view) and
• reference in /view/theme/your-theme/css/style.css them via an additional line
Example
@font-face {font-family: Roboto; src: url('../../../fonts/Roboto-Regular.ttf') format('truetype');font-weight: 400;font-style: normal; }
Adjust font-size in /settings ->Display Settings -> Custom Theme Settings then.
Note, that any fonts folder outside of /view will not work. I've no exact idea, but it's got to do with sanitizing (allowing) files for use.
This is still clumsy, and too complicated. Hoping for an inclusion of font-face and line-height into the theme core!But overall this to me is very good news, as it allows for much more individual style!
Yeppa! Vale! Ging doch, alles klar!@
Hubzilla | Contribute @
mike @
Ema エマ