Dear Fergal and Tsukaima:
First of all, the font must be located in a fonts subdirectory of the AnkiDroid directory on the SD card.
For example: /sdcards/AnkiDroid/fonts
If the font name does not appear in the list of fonts together with the "System default" under the setting "Other -> Default font", they will not work on cards.
The "Default font" in the settings is only applied to unformatted text, i.e., text in your template that is either:
- not part of a field; or
- fields included without formatting.
Let's consider the following card template example:
Front:
What is the capital of {{Country}}?
Back:
{{{Capital}}}
In this case:
- "What is the capital of" and "?" are not part of a field and they will be formatted using the default font.
- The capital name on the back will be formatted using the default font.
However, the country name will be formatted using the font as it is specified in the field definition.
If the card template looks like:
Front:
{{Country}}
Back:
{{Capital}}
Then the default font is never used. Instead the font defined for the two fields is used.
You cannot currently change the font of a field in AnkiDroid, but you can do so by looking at "Settings -> Deck Properties," editing the model used by your cards, opening the "Card Layout" and looking under the "Fields" in Anki on the desktop. The "Font" field contains the name of the font used by the field.
Let's assume that the font name is "Arial" there: if you upload a file named "Arial.ttf," it should be used for that field.
Note that you need to make sure that the name of the file matches the name of the font as defined in the field definition: this includes any spaces or special characters.
I hope this helps!
-Flavio
PS:
I will update the content of:
to reflect this and hopefully make it clearer.