Closed hssm closed 9 years ago
Do other fonts work, like Noto? It's possible it's not actually in truetype format:
http://ankidroid.org/docs/manual.html#customFonts
Reported by perceptualchaos2
on 2014-12-19 05:00:34
Reported by perceptualchaos2
on 2014-12-19 05:00:44
WaitingForFeedback
Will check but same process worked fine about a year ago on my previous Android tablet,
which shouldn't be the case if it's not a proper TTF surely?
Reported by fct.clarke
on 2014-12-19 12:13:32
Update: Noto fonts anmd Windows system fonts don't work either.
Reported by fct.clarke
on 2014-12-19 13:59:19
Hmmm can you see if you can get the font to change by changing the default font and
applicability under settings->fonts?
Reported by perceptualchaos2
on 2014-12-20 10:08:40
Screenshots attached.
01.png: App's default behaviour (system default font, applicability: when no font specified).
Note the two fonts are not identical.
02.png: Bold italic font, applicability when no font specified.
03.png: Italic font, applicability always.
Reported by fct.clarke
on 2014-12-21 01:27:36
Reported by nicolas.raoul
on 2015-01-27 05:18:28
I am experiencing the same problem: custom fonts are not displayed on AnkiDroid.
When the same deck is used on Anki/linux, the custom font is displayed.
Version: Ankidroid 2.4. KitKat 4.4.4.
Custom font: Wang Fonts (Chinese Simplified). Yes, its a true type font!
https://code.google.com/p/ankidroid/wiki/FreelyDistributableFonts
Flash card style sheet snippet:
---
.kai{
font-family: FangSongMedium;
font-size: 40px;
}
@font-face{font-family:FangSongMedium; src:url('wts47.ttf');}
---
The 'wts47.tff' has been uploaded to my ankiweb account, and sync into the AnkiDroid
'AnkiDroid/collection.media' folder. I have confirmed this by manually inspecting the
file system.
Reported by pross@xvid.org
on 2015-03-07 12:45:51
Disregard comment #8. Problem was fixed by trying another font.
Reported by pross@xvid.org
on 2015-03-07 14:11:52
A custom western font works fine for me (Linux Libertine Display), a 4MiB large kanji
font (Epson Kyokasho) on the other hand is ignored. (epkyouka.ttf from http://www.epson.jp/download2/printer/driver/win/page/ttf30.htm
- it says .exe but 'unzip' handles it). The font is part of my media files, it's synced
properly and works on the desktop.
I have an old SGS i9000 running Cyanogenmod 11 (otherwise I'd be stuck with Android
2).
I'm not sure if it stopped working after an AnkiDroid update, or CM update. If this
particular font works for anyone else, it's probably CM at fault in my case...
Reported by Andreas.Klauer
on 2015-04-04 13:13:02
AnkiDroid basically has no code that handles the displaying of fonts, it's all handled
by the operating system's WebView. I recommend using Google Noto fonts; they are free,
open-source, guaranteed to work, and look good.
Reported by perceptualchaos2
on 2015-04-06 02:24:00
Done
I can't use another font, this font is unique and there is no Google Noto
version of it available. Your answer amounts to "not my problem".
Reported by fct.clarke
on 2015-04-06 07:40:17
No my answer amounts to "nothing we can do about it, sorry"
Reported by perceptualchaos2
on 2015-04-06 10:10:24
Since I commented on this issue I'd also like to put in a link to the solution (at least
in my case):
https://groups.google.com/d/topic/anki-android/svgWDMukz1s/discussion
Reported by Andreas.Klauer
on 2015-05-12 11:30:30
Originally reported on Google Code with ID 2446
Reported by
fct.clarke
on 2014-12-19 04:24:34