Repository navigation
|
Hello, I'm new to quarkdown, and testing it since two days. I've got the two fonts installed on my system which is a macOS notebook (26.6.2). |
Replies: 1 comment
|
Your @font-face { font-family: '<id>'; src: local('Alegreya'); }(
So Any of these works: Fetched from Google Fonts when the document is rendered (needs internet). Load the files directly (a path relative to your Keep using the installed font, but with its full name. To find a font's full name on macOS, open it in Font Book and select Show Font Info (ⓘ). Look at "Full Name" and "PostScript name". I'd go with the file or Google Fonts option. A |
Your
.fontcall is right. The catch is how quarkdown loads a font by name from the system. It becomes(
CssFontFacesImporterinquarkdown-html), and CSSlocal()matches a font's full name or PostScript name, not its family name. For the Google Fonts builds of your two fonts, those names are:Alegreya[wght].ttfSourceCodePro[wght].ttfSo
local('Alegreya')andlocal('Source Code Pro')match nothing, and the browser falls back to the theme's font witho…