CSS multiple font faces issue

MM's Avatar

MM

30 Apr, 2013 08:47 PM

Hello. I am using my own CSS to display cards. One of option is "font: 12pt fontName1, fontName2". It should work like this: if fontName1 is installed in system - use it, if not - search for fontName2 (and again use it if possible). Issue appears when fontName1 is unavailable. Everything looks fine on AnkiWeb (my Chrome display cards using fontName2), but Windows Client seems to check only fontName1 and if it's not available it just uses default system font. It skips other font faces check.

MM

  1. Support Staff 1 Posted by Damien Elmes on 01 May, 2013 10:48 AM

    Damien Elmes's Avatar

    This seems to be an issue with the version of WebKit Anki's toolkit uses, so hopefully they'll fix it in a future release. In the mean time please see the platform CSS section of the manual for another way to deal with it.

  2. Damien Elmes closed this discussion on 01 May, 2013 10:48 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac