![]() |
|
Font on Android vs PC (Anki) - Printable Version +- kanji koohii FORUM (http://forum.koohii.com) +-- Forum: Learning Japanese (http://forum.koohii.com/forum-4.html) +--- Forum: General discussion (http://forum.koohii.com/forum-8.html) +--- Thread: Font on Android vs PC (Anki) (/thread-13617.html) |
Font on Android vs PC (Anki) - Bull007 - 2016-03-02 I use anki both on my pc and adroid however on the android some kanjis look a little bit different. Can someone tell me some detailed explanation on how I can put the same font which I have on my pc to my android RE: Font on Android vs PC (Anki) - ryuudou - 2016-03-04 Change the system language to Japanese. RE: Font on Android vs PC (Anki) - Zarxrax - 2016-03-04 Ankidroid has had a long and complex history regarding using different fonts. I remember spending huge amounts of time getting it working in the past. I think they have probably gotten it working better now though. See this section in the manual: https://ankidroid.org/docs/manual.html#customFonts RE: Font on Android vs PC (Anki) - jimeux - 2016-03-04 For some reason Android defaults to some kind of Chinese-Japanese-Korean compatibility font when the OS language is English, and it looks terrible. As Ryuudou said, changing the OS language to Japanese will use a standard Japanese font. It's more of an inconvenient workaround than a solution though, and Google is to blame for not providing something better. As for AnkiDroid, you can use custom fonts by copying them into the media folder (the filename should be prefixed with an underscore), and then specifying them with CSS in the card styles (follow the link in Zarxrax's post). I have a bad feeling that the entire font is loaded into memory each time a card is loaded card though, since there's a significant delay with the stroke order font on each of my cards, despite having a device with 2-3GB of RAM. RE: Font on Android vs PC (Anki) - pm215 - 2016-03-04 I took the approach of making sure my card layouts included the html markup to set the language tag to japanese -- then the Android html renderer will pick the right glyphs from the system font regardless of your UI language settings. RE: Font on Android vs PC (Anki) - tokyostyle - 2016-03-05 (2016-03-04, 6:22 pm)pm215 Wrote: I took the approach of making sure my card layouts included the html markup to set the language tag to japanese -- then the Android html renderer will pick the right glyphs from the system font regardless of your UI language settings. Gah, how can you post this without the markup? Wrap the entire card template in <html lang="jp"></html> ? RE: Font on Android vs PC (Anki) - pm215 - 2016-03-05 I wasn't at my desktop machine so didn't have convenient access to the card definitions :-) You wrap everything in <span lang="ja"> </span>. Here's my "card back" template for my grammar deck, for instance: Code: {{FrontSide}}RE: Font on Android vs PC (Anki) - toshiromiballza - 2016-03-05 If your phone is rooted, it's simple to prioritize Japanese over Chinese encoding. RE: Font on Android vs PC (Anki) - EuPcsl - 2016-03-05 (2016-03-04, 8:06 am)jimeux Wrote: For some reason Android defaults to some kind of Chinese-Japanese-Korean compatibility font when the OS language is English, and it looks terrible. As Ryuudou said, changing the OS language to Japanese will use a standard Japanese font. It's more of an inconvenient workaround than a solution though, and Google is to blame for not providing something better. You can use this: https://play.google.com/store/apps/details?id=com.ascendtv.kanjifix RE: Font on Android vs PC (Anki) - uchuu - 2016-03-05 You can have a custom font imported into Anki, which I did last night for my RTK deck as it was showing me incorrect characters. This thread was helpful and I just want to do a quick writeup of what I did so that anyone else with issues can just go step-by-step and fix 'em. Instructions:
RE: Font on Android vs PC (Anki) - Bokusenou - 2016-03-05 Here's a way to change the system language to Japanese if it's not a choice in settings, and your device isn't rooted: http://droider.eu/2013/11/03/how-to-get-morelocale2-to-work-on-4-2-and-above/ I've done it on two different devices, and it went off without a hitch. |