Back

Kanji stroke order font on Ankimini

#1
I've edited the CGFontCache.plist on my ipod touch to include the kanji stroke order font for my Heisig deck. I actually rarely check stroke order anymore but for those still going through the book I thought it might be useful. Here's a screenshot:

[Image: img0012bq7.png]

The edited file. To install, replace the current CGFontCache.plist in /System/Library/Fonts/ and add KanjiStrokeOrders.ttf to /System/Library/Fonts/Cache. Backup first.

If anyone wants to put any other custom Japanese fonts on their touch, it's pretty simple. You need to add each one to Names and TraitMappings with a plist editor (on windows this is textpad, after converting from binary with Total Commander and T-PoT). Just make sure to edit the font properties if the name has any japanese characters in it or you will get spinning wheel of death. Learned that the hard way with those stupid pretty EPSON fonts....
Reply
#2
DAMN - Ankimini looks 100x better than iAnki.

I wish someone would make an un-jailbroken version of Ankimini so I could use it!!!

In Ankimini, you can sync your deck with the deck on a PC/Mac?
If yes, how hard is it to sync?
Reply
#3
There's nothing stopping iAnki looking like that. They both use the same webbrowser and share the same data.
Reply
May 16 - 30 : Pretty Big Deal: Save 31% on all Premium Subscriptions! - Sign up here
JapanesePod101
#4
Thanks for the hint. I will dig into the code in my spare time.
Reply
#5
kfmfe04 Wrote:DAMN - Ankimini looks 100x better than iAnki.

I wish someone would make an un-jailbroken version of Ankimini so I could use it!!!

In Ankimini, you can sync your deck with the deck on a PC/Mac?
If yes, how hard is it to sync?
If you want to use custom formatting you need to specify it with html in the model properties, not the Display Properties dialogue. Since Ankimini (and iAnki?) use the Safari browser any html formatting should be recognised.

Code:
<SPAN STYLE="font-size: 200pt; font-family: KanjiStrokeOrders; color:000000;">%(Kanji)s</SPAN>
Display Properties overrides model properties html so you can also set a smaller font size for your desktop client.

Syncing is very easy on Ankimini. It's just like the desktop client, hit sync anywhere with a wireless connection. Honestly I don't get not jailbreaking. I've never heard of anyone irreversibly bricking their device. Even if it did it's pretty much tripled the value to me anyway so I could buy another touch without much pain. Without jailbreak my touch would just be a pretty music player with some games I never play.
Reply
#6
Shakkun, since you are such a big fan of jail-breaking, can you answer the following?

1. Is it reverse-able (can I undo it)?
2. What benefits do I get if I jail-break? (besides being able to run ankimini?)
3. How has it tripled the value of your iPod?
4. Does doing so impact any of the built-in functionality with iTunes (eg syncing, OS updates, etc...)?

I realize some of this information is on the web, but it would be nice to hear from an experienced user...

Thx.
Reply
#7
LOL.

I read the title of this page and thought to myself.... what's あんきみに?

That's how you know you've been studying for too long.
Reply
#8
1. Yes. If you restore with iTunes there will be no evidence it was ever jailbroken.
2. Depends too much on what you use your ipod for. There are a lot of jailbroken apps designed to do things that can't be achieved with the official sdk like altering the gui... or running Quake...
3. Well I pretty much got it to run ankimini and iDic. Now that iDic is official, maybe I should amend that to "doubled". I really dislike the official theme and being able to customise probably means more to me than most people.
Apps I use all the time that actually provide functionality: Ankimini, Pockettouch, Dock, Wiki2Touch (offline wikipedia, japanese one is about 700mb)
Apps I just like and would miss: Winterboard (theming), Categories, iComic (for manga)
The prospect of upcoming versions of VLC and Firefox is also really appealing.
4. No, absolutely not.

The point is despite sounding sever jailbreaking does no damage to your device. Unless you do something stupid like blindly installing 100 apps. The worst that will happen is you'll have to restore.
Reply
#9
The only time you need help with stroke order is when you come across a radical you've never learnt/seen before.

And so, one would never really test a radical they've never seen before so i don't get the point of this :S
Reply
#10
I just like it a lot more than the default font. It's a good handwritten font. Plus not every kanji consists of standard and often repeated radicals.
Reply
#11
shakkun, thanks for posting the KanjiStrokeOrder font and size-changing code for Ankimini. It's perfect.
Reply
#12
I know this post was a long time ago, but I'm having trouble getting my ankimini to look that nice!

I'm editing my model html now. I got the size and colour to work, but I'm trying to get it to center my text and change font.

<SPAN STYLE="text-align: center; font-size: 80pt; font-family: EpsonTruePrint; color:166704;">%(Kanji)s</SPAN>

This is the code I'm using. I put EpsonTruePrint (epson font with modified properties to remove the Japanese characters) in the cache folder and modified your edited plist file. I just changed the kanjistrokeorder.tff with my font name.

The centered text nor the change in font has worked, but the size and colour changed.

I would love to see the code for your model, or if you could help me out with mine... it would be much appreciated.
Reply
#13
As of at least OS 3.1.2, the edited CGFontCache.plist in the first post will break your ipod. Editing the one you already have should work, but don't download that one unless you're on one of the older firmwares (OS 2 still worked with it, I think).
Reply