How to find MacOS user fonts with mainfont
when rendering to html?
#13188
-
DescriptionQuarto cannot find fonts installed in my
I have also tried using a custom scss file (instead of `main font: "Gentium" above, replace for "custom: custom.scss"), with this custom styles file:
I believe that Quarto is finding this custom file because the output in rendering changes from using a basement of 'Times' to 'AppleSystemUIFont'. However, I can't prod Quarto into finding this font and loading it. I have also tried copying the font file into the same directory as the test file so that the src url becomes How exactly is one supposed to find user-installed fonts on a MacOS install (the ones in the user's own Library directory)? Quarto also seems generally unable to find fonts installed into System and toolsMacOs Ventura (13.7.7)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a question specific to HTML formats. It's not Quarto doing the font resolving in an .html file, it's your web browser seeing the name 'Gentium' and attempting to map it to some font (maybe in your filesystem, maybe elsewhere). You're probably better served by searching for solutions to that. |
Beta Was this translation helpful? Give feedback.
This is a question specific to HTML formats. It's not Quarto doing the font resolving in an .html file, it's your web browser seeing the name 'Gentium' and attempting to map it to some font (maybe in your filesystem, maybe elsewhere). You're probably better served by searching for solutions to that.