akovacs / sans-forgetica-extended

Fork of the Sans Forgetica font designed using principles of cognitive psychology to help better remember study notes. Adds glyphs for Chinese hànyǔ pīnyīn characters: ǎěǐǒǔǖǘǚǜǍĚǏǑǓǕǗǙǛ. https://en.wikipedia.org/wiki/Sans_forgetica

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sans Forgetica Extended for Chinese Hànyǔ Pīnyīn Characters

Fork of the Sans Forgetica font designed using principles of cognitive psychology to help better remember study notes. Download the latest stable version from the releases page.

Font Preview

Main Features Added

  • v1.002: Support for Chinese hànyǔ pīnyīn characters such as: ǎěǐǒǔǖǘǚǜǍĚǏǑǓǕǗǙǛ

Please see the CHANGELOG.md for additional details

System-wide Installation on Ubuntu Linux

  1. Download the latest SansForgetica-Regular.otf font from the releases page.

  2. Open the SansForgetica-Regular.otf file with gnome-font-viewer or the font viewer of your choice.

  3. Click the Install button.

Removing / Reinstalling Newer Versions of the Font

# List font path
fc-list "Sans Forgetica"

# remove font
sudo rm ~/.local/share/fonts/SansForgetica-Regular.otf

# clear font cache
fc-cache -fv

Usage in Anki Linux

Based on instructions from Anki Web Styling: Installing Fonts and Anki Web File Locations.

  1. Go to your Anki folder: cd ~/.local/share/Anki2

  2. Go into the folder called "User 1" (or your profile name if you’ve renamed/added profiles or use a different language).

  3. Download SansForgetica-Regular.ttf from the releases page and copy it into the collection.media folder within the "User 1" folder: cp ~/Downloads/SansForgetica-Regular.otf ~/.local/share/Anki2/User\ 1/collection.media/

Usage in Anki Windows

  1. Go to your Anki folder: navigate to %APPDATA%\Anki2 using Windows Explorer.

  2. Go into the folder called "User 1" (or your profile name if you’ve renamed/added profiles or use a different language).

  3. Download SansForgetica-Regular.ttf from the releases page and copy it into the collection.media folder.

Usage in AnkiDroid

Based on instructions from Anki Web Styling: Installing Fonts.

  1. Determine the root AnkiDroid directory specified under Settings > Advanced > AnkiDroid directory. For me, this was /storage/emulated/0/AnkiDroid

  2. Rename your font so that you remove all whitespace (eg: replace spaces " " with dashes "-") and add an underscore ("_") at the front of the font name. For example, SansForgetica Regular.ttf should become _SansForgetica-Regular.ttf. The underscore ("_") prefix avoids annoying check media messages. Note that collection.media only supports .ttf fonts, .otf fonts are no longer supported.

  3. Download SansForgetica-Regular.ttf from the releases page and copy it into the collection.media folder under the root AnkiDroid directory (for me, this was /storage/emulated/0/AnkiDroid/collection.media). If you have adb installed on your computer, you can use the following command: adb push SansForgetica-Regular.ttf /storage/emulated/0/AnkiDroid/collection.media/_SansForgetica-Regular.ttf, otherwise you can use a something like Amaze Filemanager on your Android device to copy the font to the collection.media folder.

Usage in Anki Decks

If you have existing Anki decks, you also need to update their templates:

  1. Click Add at the top of the main screen, and then select the note type you want to change with the top left button.

  2. Click Cards.

  3. In the styling section, add the following text to the bottom (after the last "}" character):

    @font-face { font-family: myfont; src: url("_SansForgetica-Regular.ttf"); }

Applying the style to every card is very time-consuming, but there are ways to generate decks programmatically with GenAnki and similar libraries which avoid this problem. Basically, you can define your deck as a tab-separated file, and then generate the deck using some Python code, applying the font via a CSS style rule.

License

Sans Forgetica is licensed under the Creative Commons Attribution-NonCommercial License (CC BY-NC). This was the license provided by RMIT University, therefore I do not have the freedom to change it.

Contributors

If you would like to add new glyphs or modify existing ones, please send a pull request with the modified FontForge .sfd (preferred), .otf, or .ttf file and a screenshot of the FontForge glyphs with your changes, as well as a screenshot of sans-forgetica-font-preview.html with your new/modified characters rendered in the browser of your choice. Thank you!

Credits

The Sans Forgetica font was created by Melbourne’s RMIT University: news release.

Since the original sansforgetica.rmit website is no longer available, I downloaded the font files from 1001 Fonts.

The fonts were edited using FontForge, an Open Source Font Editor.

About

Fork of the Sans Forgetica font designed using principles of cognitive psychology to help better remember study notes. Adds glyphs for Chinese hànyǔ pīnyīn characters: ǎěǐǒǔǖǘǚǜǍĚǏǑǓǕǗǙǛ. https://en.wikipedia.org/wiki/Sans_forgetica

License:Other


Languages

Language:HTML 100.0%