# Adding Custom Font to Anki

**URL:** <https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004>\
**Category:** Card Design\
**Created:** [March 30, 2024, 2:48pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004 "2024-03-30T14:48:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [March 30, 2024, 2:48pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/1 "2024-03-30T14:48:35Z")

</div>

How can I add a custom font to Anki which I have downloaded over the internet.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 30, 2024, 3:00pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/2 "2024-03-30T15:00:13Z")

</div>

[https://docs.ankiweb.net/templates/styling.html#installing-fonts](https://docs.ankiweb.net/templates/styling.html#installing-fonts)

1. Open the manual
2. Search for `font`

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [March 30, 2024, 4:22pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/3 "2024-03-30T16:22:42Z")

</div>

I followed all the steps yet it did not work. ☹

Can you look into what I did wrong. The fonts name is dont.ttf

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/1/2/12e49ff8465bff0646ecbdec2dddda30b28f2d11.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/5/2/525864396d6e4fcb24610a91aef6ae023856555b.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/8/5/85913f3d6ee97e5f8626a976978982645e17c0ed.png)

![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/a/e/aee849982af8741a2557ad08e4743312d0334300.png)

It is in the collections media file, in case you are wondering. I changed the font name in .card section to my font in case you are wondering

Here is the link to the font  
[OpenDyslexic](https://opendyslexic.org/)

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 30, 2024, 9:04pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/5 "2024-03-30T21:04:15Z")

</div>

Did you try it without quotes around the name in the `.card` class?  
(Which is addressed further up the same page I already posted a link to.)

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [March 30, 2024, 9:50pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/6 "2024-03-30T21:50:20Z")

</div>

Yes I did.

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 30, 2024, 11:58pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/7 "2024-03-30T23:58:07Z")

</div>

It’s always helpful to let someone know what you’ve tried already.

Is it actually a ttf-format font – and not just a filename ending in ttf?

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [March 31, 2024, 12:21am UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/8 "2024-03-31T00:21:21Z")

</div>

Yes it is in ttf. I have also named it ending with ttf for good measure

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 31, 2024, 12:29am UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/9 "2024-03-31T00:29:08Z")

</div>

If you changed the name of the file from _something else_ to ttf – it’s probably _not_ a ttf-format font.

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [March 31, 2024, 8:48am UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/10 "2024-03-31T08:48:30Z")

</div>

❓

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/b/7/b7ab056ca665caf52f218b4ee9dfb8063fe4f79f.png)

You know, I will try removing it and see how it goes. I havent got much to lose if I try this, I guess.

* * *

So I just did try removing the .ttf part of the name. Restarted Anki. Tried once more again, with and without the quote marks. No change whatsoever.

* * *

I tried opening the font, and I did notice something strange. The fonts name hasnt actually been changed at all in the first place. Do I have to see the new name in the windows that pops up when I open it.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/7/4/74f944ea9c4258bf5a270b3c4ff3a9b021bd9a87.png)

---

<div class="post-metadata">

**Author:** ![DerIshmaelite](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/derishmaelite/32/17983_2.png) [@DerIshmaelite](https://forums.ankiweb.net/u/DerIshmaelite)\
**Post date:** [March 31, 2024, 9:00am UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/11 "2024-03-31T09:00:56Z")

</div>

Wait! Something ticked. It worked! Thank you @Danika_Dakika !

---

<div class="post-metadata">

**Author:** ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)\
**Post date:** [March 31, 2024, 8:01pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/12 "2024-03-31T20:01:54Z")

</div>

> [@DerIshmaelite](#):
>
> So I just did try removing the .ttf part of the name.

Just for future reference (and this applies for anything related to a computer) – adding/removing/changing the extension on a filename _hardly ever_ changes the underlying file into a different file format. It’s not even something you should try as a solution unless it is specifically recommended (and that will be a very rare situation, because it hardly ever accomplishes anything).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [April 30, 2024, 8:02pm UTC](https://forums.ankiweb.net/t/adding-custom-font-to-anki/43004/13 "2024-04-30T20:02:25Z")

</div>

Closed on April 30, 2024, 8:02pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
