I don’t believe that the below represents any kind of Anki bug, but rather a large gap in my knowledge of fonts (and perhaps a small gap in Anki’s documentation):
After nearly six years of using Anki every day, I finally got sick of looking at Arial, which is objectively a disgusting font.
I then downloaded SF-Pro (because San Francisco is the system font on Apple devices) and followed the instructions in the manual to install it, updated some of my notes’ styling, and my cards immediately began to look better.
One major problem: around 20,000 of my cards contain text in a certain right-to-left language that is only spoken by around 10,000,000 people globally. And the font that I installed doesn’t seem to support that language, so all of the text in that language across my Anki cards now looks absolutely horrific - readable, but extremely ugly.
So I download the ttf file for San Francisco font in the desired script. However, I can’t figure out how to get Anki to use it.
Currently I’ve got this at the bottom of the styling tab:
@font-face {
font-family: myfont;
src: url("_SF-Pro.ttf");
}
But that obviously isn’t enough, because there are two fonts that I want to add. How does it work when someone wants to add two different custom fonts to the same note type?
Suppose I add something like this:
@font-face {
font-family: myotherfont;
src: url("_SF-Other-language.ttf");
}
… My notes aren’t built in a way that the words from different languages are separated with or
Is the solution to download a different type of font file that supports all of the languages in one? If so, does anyone know where I can find that?