Skip to content

Commit

Permalink
Update font (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
willcohen authored Sep 24, 2023
1 parent f785b23 commit 7a12b85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file removed _StenoDisplay-LetterFont.ttf
Binary file not shown.
Binary file added _Stenodisplay-ClassicLarge.ttf
Binary file not shown.
10 changes: 5 additions & 5 deletions steno_anki/anki.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ class Anki:
css=
"""
@font-face {
font-family: "StenoDisplay-LetterFont";
src: url("_StenoDisplay-LetterFont.ttf");
font-family: "Stenodisplay-ClassicLarge";
src: url("_Stenodisplay-ClassicLarge.ttf");
}
.card {
font-family: arial;
font-size: 20px;
text-align: center;
}
.steno {
font-family: "StenoDisplay-LetterFont";
font-size: 192px;
font-family: "Stenodisplay-ClassicLarge";
font-size: 168px;
color: #008080;
}
.typeGood,
Expand Down Expand Up @@ -68,7 +68,7 @@ def __init__(self):

def generate_package(self, output):
package = genanki.Package(self.decks)
package.media_files = ["_StenoDisplay-LetterFont.ttf"]
package.media_files = ["_Stenodisplay-ClassicLarge.ttf"]
package.write_to_file(output)

def generate_deck(self, entry):
Expand Down

0 comments on commit 7a12b85

Please sign in to comment.